aboutsummaryrefslogtreecommitdiffstats
path: root/spec/controllers
diff options
context:
space:
mode:
authorLouise Crow <louise.crow@gmail.com>2014-11-04 16:25:14 +0000
committerLouise Crow <louise.crow@gmail.com>2014-12-18 14:03:48 +0000
commit5960f81184856287153fbc01d6f350cc3e12758c (patch)
tree503e106d6a3bd3d1417a1d946d04eab2afda2e24 /spec/controllers
parent44cdaeba19dc1732c5b965eb92e8cac46d602dd7 (diff)
Move edit and update to RESTful routing
Diffstat (limited to 'spec/controllers')
-rw-r--r--spec/controllers/public_body_change_requests_controller_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/controllers/public_body_change_requests_controller_spec.rb b/spec/controllers/public_body_change_requests_controller_spec.rb
index 9d6cfb26e..1c0b2ab35 100644
--- a/spec/controllers/public_body_change_requests_controller_spec.rb
+++ b/spec/controllers/public_body_change_requests_controller_spec.rb
@@ -92,7 +92,7 @@ describe PublicBodyChangeRequestsController, "creating a change request" do
mail.body.should include('new_body@example.com')
mail.body.should include(@public_body.name)
mail.body.should include("Please")
- mail.body.should include("http://test.host/admin/body/edit/#{@public_body.id}?change_request_id=")
+ mail.body.should include("http://test.host/admin/bodies/#{@public_body.id}/edit?change_request_id=")
mail.body.should include('http://test.host/admin/change_request/edit/')
end