diff options
author | Matthew Landauer <matthew@openaustralia.org> | 2013-01-29 13:05:55 +1100 |
---|---|---|
committer | Matthew Landauer <matthew@openaustralia.org> | 2013-01-29 13:05:55 +1100 |
commit | e975b6b9448c72781665a69e671f2356d35b900f (patch) | |
tree | 39f15fee96b75a57adf0889eaebae27f9a92f311 | |
parent | 30ef245a8ccb31c120a35eef1df35478877b43bf (diff) |
Pass string to paremeter in test
-rw-r--r-- | spec/controllers/request_controller_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/controllers/request_controller_spec.rb b/spec/controllers/request_controller_spec.rb index 53bae9f9c..2f5251276 100644 --- a/spec/controllers/request_controller_spec.rb +++ b/spec/controllers/request_controller_spec.rb @@ -219,7 +219,7 @@ describe RequestController, "when showing one request" do end it "should redirect from a numeric URL to pretty one" do - get :show, :url_title => info_requests(:naughty_chicken_request).id + get :show, :url_title => info_requests(:naughty_chicken_request).id.to_s response.should redirect_to(:action => 'show', :url_title => info_requests(:naughty_chicken_request).url_title) end |