From 44cdaeba19dc1732c5b965eb92e8cac46d602dd7 Mon Sep 17 00:00:00 2001 From: Louise Crow Date: Tue, 4 Nov 2014 15:31:41 +0000 Subject: Move new action to use RESTful routing. --- spec/controllers/public_body_change_requests_controller_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'spec/controllers') diff --git a/spec/controllers/public_body_change_requests_controller_spec.rb b/spec/controllers/public_body_change_requests_controller_spec.rb index 8fe7befeb..9d6cfb26e 100644 --- a/spec/controllers/public_body_change_requests_controller_spec.rb +++ b/spec/controllers/public_body_change_requests_controller_spec.rb @@ -37,7 +37,7 @@ describe PublicBodyChangeRequestsController, "creating a change request" do mail.body.should include('new_body@example.com') mail.body.should include('New Body') mail.body.should include("Please") - mail.body.should include('http://test.host/admin/body/new?change_request_id=') + mail.body.should include('http://test.host/admin/bodies/new?change_request_id=') mail.body.should include('http://test.host/admin/change_request/edit/') end -- cgit v1.2.3