diff options
author | Pjotr Prins | 2016-10-05 08:03:57 +0000 |
---|---|---|
committer | Pjotr Prins | 2016-10-05 08:03:57 +0000 |
commit | d74fab1e7fc5fd3c7646f594714b6a34e4b7a31f (patch) | |
tree | fe91f1220099e22c028ac308fe6b9aeb5940981d /test/lib | |
parent | d99da978111aa90f154be84bf40f09953239ac48 (diff) | |
download | genenetwork2-d74fab1e7fc5fd3c7646f594714b6a34e4b7a31f.tar.gz |
Tests: Mapping tests pass now
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 |