aboutsummaryrefslogtreecommitdiffstats
path: root/spec/controllers/request_controller_spec.rb
diff options
context:
space:
mode:
authorHenare Degan <henare.degan@gmail.com>2013-03-03 13:45:44 +1100
committerHenare Degan <henare.degan@gmail.com>2013-03-03 13:45:44 +1100
commit1e463f086ae0e5250392ac553368fccc7b12bd98 (patch)
tree4a80127c9285d12afacbfad5dacbd755163d8ab0 /spec/controllers/request_controller_spec.rb
parent3cdf8791ea004c4254b5eb5bef9fdff3c9a99a7b (diff)
response.redirected_to is deprecated
Diffstat (limited to 'spec/controllers/request_controller_spec.rb')
-rw-r--r--spec/controllers/request_controller_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/controllers/request_controller_spec.rb b/spec/controllers/request_controller_spec.rb
index ffc15ebe8..1f6b0a516 100644
--- a/spec/controllers/request_controller_spec.rb
+++ b/spec/controllers/request_controller_spec.rb
@@ -1036,7 +1036,7 @@ describe RequestController, "when creating a new request" do
response.should redirect_to show_new_request_url(:url_title => ir.url_title)
# This test uses an explicit path because it's relied in
# Google Analytics goals:
- response.redirected_to.should =~ /request\/why_is_your_quango_called_gerald\/new$/
+ response.redirect_url.should =~ /request\/why_is_your_quango_called_gerald\/new$/
end
it "should give an error if the same request is submitted twice" do