aboutsummaryrefslogtreecommitdiffstats
path: root/spec/integration/errors_spec.rb
diff options
context:
space:
mode:
authorLouise Crow <louise.crow@gmail.com>2014-12-12 14:06:51 +0000
committerLouise Crow <louise.crow@gmail.com>2014-12-12 16:47:07 +0000
commit12aca5dd819653e596f7c13e587e6e7967d6ded3 (patch)
treedc709eca4bdef1a0f5915c81703067440c03ca59 /spec/integration/errors_spec.rb
parent64e636fee3651f5f6c9d3e34bd1260d546e11ce7 (diff)
Use RESTful routing for index and show actions
Diffstat (limited to 'spec/integration/errors_spec.rb')
-rw-r--r--spec/integration/errors_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/integration/errors_spec.rb b/spec/integration/errors_spec.rb
index 110626058..a28b34da6 100644
--- a/spec/integration/errors_spec.rb
+++ b/spec/integration/errors_spec.rb
@@ -131,7 +131,7 @@ describe "When errors occur" do
it 'should show a full trace for general errors' do
InfoRequest.stub!(:find).and_raise("An example error")
- get("/admin/request/show/333")
+ get("/admin/requests/333")
response.body.should have_selector('div[id=traces]')
response.body.should match('An example error')
end