aboutsummaryrefslogtreecommitdiff
path: root/test/lib
diff options
context:
space:
mode:
authorPjotr Prins2016-09-25 10:51:43 +0000
committerPjotr Prins2016-09-25 10:51:43 +0000
commit71890299c9f8aecb269d8dd2647b85f0a82e91ff (patch)
tree928988d6e1536fc8781b010c3476ccce9496c118 /test/lib
parentf69c43a8900ac55218ec0fc9a6c00cf654190d6d (diff)
downloadgenenetwork2-71890299c9f8aecb269d8dd2647b85f0a82e91ff.tar.gz
Test: should be a Post with parameters filled in
Diffstat (limited to 'test/lib')
-rw-r--r--test/lib/mapping.rb5
1 files changed, 3 insertions, 2 deletions
diff --git a/test/lib/mapping.rb b/test/lib/mapping.rb
index bd88b88e..da580185 100644
--- a/test/lib/mapping.rb
+++ b/test/lib/mapping.rb
@@ -11,10 +11,11 @@ describe MappingTest do
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)
+ url = $host+'/marker_regression?trait_id=1435395_s_at&dataset=HC_M2_0606_P'
+ page = @agent.post(url)
json = JSON::load(File.read('test/data/input/mapping/1435395_s_at_HC_M2_0606_P.json'))
p json
+ p page
# get the form
# form = @agent.page.form_with(:name => "my-form")
# get the button you want from the form