diff options
author | Pjotr Prins | 2016-10-06 14:27:17 +0000 |
---|---|---|
committer | Pjotr Prins | 2016-10-06 14:27:17 +0000 |
commit | 94f7e2494f5e48b12ae10c0bf46ebc2367b0eecc (patch) | |
tree | a3e3989d0817e63cd6df0ef7d93b50e659c8288f /test/lib | |
parent | bd35fd6430e5b8b88fd3a7b8afa933d2b0f20b4e (diff) | |
parent | 416363b3f8940d145d8aec076865b167e78705d9 (diff) | |
download | genenetwork2-94f7e2494f5e48b12ae10c0bf46ebc2367b0eecc.tar.gz |
Merge branch 'master' of github.com:genenetwork/genenetwork2 into mechanize
Diffstat (limited to 'test/lib')
-rw-r--r-- | test/lib/mapping.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/lib/mapping.rb b/test/lib/mapping.rb index 4c8ff632..d6a3cd7b 100644 --- a/test/lib/mapping.rb +++ b/test/lib/mapping.rb @@ -19,7 +19,7 @@ describe MappingTest do json["method"] = "pylmm" # p json page = @agent.post(URI.encode(url), json) - # Unpacking the page is slow - but the run is enough as a test + # Unpacking the page is slow - somehow - but the run is enough as a test # form = page.forms_with("marker_regression")[0] # form.fields.select { |fld| fld.name == 'dataset' }.first.value.must_equal 'HC_M2_0606_P' # form.fields.select { |fld| fld.name == 'value:BXD1' }.first.value.must_equal '6.749' @@ -37,7 +37,7 @@ describe MappingTest do ({'Content-Type' => 'application/x-www-form-urlencoded'})) form = page.forms_with("marker_regression")[0] form.fields.select { |fld| fld.name == 'dataset' }.first.value.must_equal 'HC_M2_0606_P' - form.fields.select { |fld| fld.name == 'value:BXD1' }.first.value.must_equal '6.749' + form.fields.select { |fld| fld.name == 'value:BXD1' }.first.value.must_equal "15.034" end end @@ -50,7 +50,7 @@ describe MappingTest do page = @agent.post(URI.encode(url), json) form = page.forms_with("marker_regression")[0] form.fields.select { |fld| fld.name == 'dataset' }.first.value.must_equal 'HC_M2_0606_P' - form.fields.select { |fld| fld.name == 'value:BXD1' }.first.value.must_equal '6.749' + form.fields.select { |fld| fld.name == 'value:BXD1' }.first.value.must_equal "15.034" end end |