From d74fab1e7fc5fd3c7646f594714b6a34e4b7a31f Mon Sep 17 00:00:00 2001 From: Pjotr Prins Date: Wed, 5 Oct 2016 08:03:57 +0000 Subject: Tests: Mapping tests pass now --- test/lib/mapping.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'test/lib') 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 -- cgit v1.2.3