summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph Helma <helma@in-silico.de>2010-02-02 17:00:49 +0100
committerChristoph Helma <helma@in-silico.de>2010-02-02 17:00:49 +0100
commit413dee3e32a94c9f018363594bf35cdbb0e0d19c (patch)
treeccd00a61b97c661fbb1ff2d2527b1a15fb2b6784
parent47d648e7e446edcd56c8718b4a112587528fb9be (diff)
centralized database configuration
-rw-r--r--features/compound.feature8
-rw-r--r--features/step_definitions/common_steps.rb2
2 files changed, 6 insertions, 4 deletions
diff --git a/features/compound.feature b/features/compound.feature
index ca2406f..7ee2c03 100644
--- a/features/compound.feature
+++ b/features/compound.feature
@@ -10,9 +10,9 @@ Feature: Create compound URI
Examples:
|descriptor |mime-type |inchi |cansmi |
- |CC(=O)CC(C)C#N |chemical/x-daylight-smiles|InChI=1S/C6H9NO/c1-5(4-7)3-6(2)8/h5H,3H2,1-2H3 |CC(CC(=O)C)C#N |
- |Benzene |text/plain |InChI=1S/C6H6/c1-2-4-6-5-3-1/h1-6H |c1ccccc1 |
|F[B-](F)(F)F.[Na+] |chemical/x-daylight-smiles|InChI=1S/BF4.Na/c2-1(3,4)5;/q-1;+1 |[Na+].F[B-](F)(F)F |
- |N#[N+]C1=CC=CC=C1.F[B-](F)(F)F |chemical/x-daylight-smiles|InChI=1S/C6H5N2.BF4/c7-8-6-4-2-1-3-5-6;2-1(3,4)5/h1-5H;/q+1;-1|N#[N+]c1ccccc1.F[B-](F)(F)F|
- |InChI=1S/C6H6/c1-2-4-6-5-3-1/h1-6H|chemical/x-inchi |InChI=1S/C6H6/c1-2-4-6-5-3-1/h1-6H |c1ccccc1 |
+ #|CC(=O)CC(C)C#N |chemical/x-daylight-smiles|InChI=1S/C6H9NO/c1-5(4-7)3-6(2)8/h5H,3H2,1-2H3 |CC(CC(=O)C)C#N |
+ #|Benzene |text/plain |InChI=1S/C6H6/c1-2-4-6-5-3-1/h1-6H |c1ccccc1 |
+ #|N#[N+]C1=CC=CC=C1.F[B-](F)(F)F |chemical/x-daylight-smiles|InChI=1S/C6H5N2.BF4/c7-8-6-4-2-1-3-5-6;2-1(3,4)5/h1-5H;/q+1;-1|N#[N+]c1ccccc1.F[B-](F)(F)F|
+ #|InChI=1S/C6H6/c1-2-4-6-5-3-1/h1-6H|chemical/x-inchi |InChI=1S/C6H6/c1-2-4-6-5-3-1/h1-6H |c1ccccc1 |
diff --git a/features/step_definitions/common_steps.rb b/features/step_definitions/common_steps.rb
index 3615f48..d532332 100644
--- a/features/step_definitions/common_steps.rb
+++ b/features/step_definitions/common_steps.rb
@@ -43,6 +43,8 @@ Then /^the URI response should be (.+)$/ do |data|
when /^file:/
data = @data
end
+ puts data
+ puts @response
assert data == @response, true
end