about summary refs log tree commit diff
path: root/test/lib
diff options
context:
space:
mode:
authorPjotr Prins2016-09-25 10:42:39 +0000
committerPjotr Prins2016-09-25 10:42:39 +0000
commitd06fc474275306e23d96360bc183b8c484e3e42a (patch)
tree65045c535cbaa41ee7adf43c6523cefdf1900ecb /test/lib
parent55b332d6f03f20054902dabb7beeaaebef2139ac (diff)
downloadgenenetwork2-d06fc474275306e23d96360bc183b8c484e3e42a.tar.gz
Test: input parameters for mapping
Diffstat (limited to 'test/lib')
-rw-r--r--test/lib/mapping.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/lib/mapping.rb b/test/lib/mapping.rb
index 08b6b5da..bd88b88e 100644
--- a/test/lib/mapping.rb
+++ b/test/lib/mapping.rb
@@ -1,6 +1,5 @@
 # In these tests we navigate from the main page to a specific trait then hit the different mapping tool buttons (In this case pylMM and r/qtl) followed by computing the results (marker regressions).
 
-
 class MappingTest
 end
 
@@ -14,6 +13,8 @@ describe MappingTest do
     it "pyLMM mapping tool selection" do
       url = $host+'/show_trait?trait_id=1435395_s_at&dataset=HC_M2_0606_P'
       page = @agent.get(url)
+      json = JSON::load(File.read('test/data/input/mapping/1435395_s_at_HC_M2_0606_P.json'))
+      p json
       # get the form
       # form = @agent.page.form_with(:name => "my-form")
       # get the button you want from the form