diff options
author | Henare Degan <henare.degan@gmail.com> | 2013-03-15 17:03:47 +1100 |
---|---|---|
committer | Henare Degan <henare.degan@gmail.com> | 2013-03-15 17:03:47 +1100 |
commit | c5a0ac1f191e1ca0b2bcd71f7949c12b214cd5bd (patch) | |
tree | 195acd8c3379dd72e8084399e8f2525e687157be /spec/controllers | |
parent | 723b9f84ba7c0a416ce11811176c0728726dc3bd (diff) |
Use a real example instead of a helper
Diffstat (limited to 'spec/controllers')
-rw-r--r-- | spec/controllers/public_body_controller_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/controllers/public_body_controller_spec.rb b/spec/controllers/public_body_controller_spec.rb index 7b2876aff..e9aff9c26 100644 --- a/spec/controllers/public_body_controller_spec.rb +++ b/spec/controllers/public_body_controller_spec.rb @@ -64,7 +64,7 @@ describe PublicBodyController, "when showing a body" do it "should remember the filter (view) setting on redirecting" do get :show, :show_locale => "es", :url_name => "tgq", :view => 'successful' - response.should redirect_to show_public_body_successful_url(:url_name => "etgq") + response.should redirect_to 'http://test.host/es/body/etgq/successful' end it "should redirect to newest name if you use historic name of public body in URL" do |