aboutsummaryrefslogtreecommitdiffstats
path: root/spec/integration/view_request_spec.rb
diff options
context:
space:
mode:
authorLouise Crow <louise.crow@gmail.com>2013-06-26 11:13:38 -0700
committerLouise Crow <louise.crow@gmail.com>2013-06-26 11:13:38 -0700
commit411aee219e14fe3d942699f230f7a8e3ed70bfe0 (patch)
treecbd41460afc2f0e24d7490d3034eee2544f3bac5 /spec/integration/view_request_spec.rb
parent9ccc03bc7d4c4e9064a9217d6e332abfb3f15b7f (diff)
parent0d9de53bdccf20cc2884f0ad896d5e9dd2edee03 (diff)
Merge branch 'release/0.12' into wdtk
Conflicts: locale/he_IL/app.po locale/hr_HR/app.po locale/nb_NO/app.po locale/uk/app.po spec/models/info_request_spec.rb
Diffstat (limited to 'spec/integration/view_request_spec.rb')
-rw-r--r--spec/integration/view_request_spec.rb7
1 files changed, 7 insertions, 0 deletions
diff --git a/spec/integration/view_request_spec.rb b/spec/integration/view_request_spec.rb
index 442721890..3d646cfe7 100644
--- a/spec/integration/view_request_spec.rb
+++ b/spec/integration/view_request_spec.rb
@@ -13,5 +13,12 @@ describe "When viewing requests" do
response.body.should include("dog.json?unfold=1")
end
+ it 'should not raise a routing error when making a json link for a request with an
+ "action" querystring param' do
+ @dog_request = info_requests(:fancy_dog_request)
+ get "request/#{@dog_request.url_title}?action=add"
+ response.should be_success
+ end
+
end