diff options
author | Louise Crow <louise.crow@gmail.com> | 2014-11-04 15:31:41 +0000 |
---|---|---|
committer | Louise Crow <louise.crow@gmail.com> | 2014-12-18 14:03:48 +0000 |
commit | 44cdaeba19dc1732c5b965eb92e8cac46d602dd7 (patch) | |
tree | f4c136a6ef3de5c6bb200bfadc82edbcfcef4441 /spec/controllers | |
parent | e487e7104b53b4176972f7ad1af2a69f89ea17f1 (diff) |
Move new action to use RESTful routing.
Diffstat (limited to 'spec/controllers')
-rw-r--r-- | spec/controllers/public_body_change_requests_controller_spec.rb | 2 |
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 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 |