diff options
author | Henare Degan <henare.degan@gmail.com> | 2013-03-03 17:14:58 +1100 |
---|---|---|
committer | Henare Degan <henare.degan@gmail.com> | 2013-03-03 17:14:58 +1100 |
commit | 28bb502677289e4b2f44252f0cf839684cc3fb28 (patch) | |
tree | c57e04778ae8548f96b1d8f00237d23c2c06b26e /spec/controllers/admin_request_controller_spec.rb | |
parent | eb4e833901e2d9e4133103c85be2084d90505df9 (diff) |
Params are passed through as strings in Rails 3.1
Diffstat (limited to 'spec/controllers/admin_request_controller_spec.rb')
-rw-r--r-- | spec/controllers/admin_request_controller_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/controllers/admin_request_controller_spec.rb b/spec/controllers/admin_request_controller_spec.rb index b51aaa9ad..b7b726507 100644 --- a/spec/controllers/admin_request_controller_spec.rb +++ b/spec/controllers/admin_request_controller_spec.rb @@ -226,7 +226,7 @@ describe AdminRequestController, "when administering the holding pen" do :user => nil, :user_name => 'External User', :is_external? => true) - InfoRequest.stub!(:find).with(@info_request.id).and_return(@info_request) + InfoRequest.stub!(:find).with(@info_request.id.to_s).and_return(@info_request) @default_params = { :id => @info_request.id, :explanation => 'Foo', :reason => 'vexatious' } |