aboutsummaryrefslogtreecommitdiffstats
path: root/spec/controllers/admin_request_controller_spec.rb
diff options
context:
space:
mode:
authorMatthew Landauer <matthew@openaustralia.org>2013-01-30 08:16:28 +1100
committerMatthew Landauer <matthew@openaustralia.org>2013-01-30 08:16:28 +1100
commit4e4ec14ebcc9ddd161bc61a5bbce9ce0cd4e3610 (patch)
treebef5e031d349c7f6d31dc0fe223da228173a6fb4 /spec/controllers/admin_request_controller_spec.rb
parent7c1741d80f51e7b8085a45616c1545ebe36c9f77 (diff)
Find is now being called with an integer rather than a string. All good
Diffstat (limited to 'spec/controllers/admin_request_controller_spec.rb')
-rw-r--r--spec/controllers/admin_request_controller_spec.rb2
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 d16235717..c9d325b03 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.to_s).and_return(@info_request)
+ InfoRequest.stub!(:find).with(@info_request.id).and_return(@info_request)
@default_params = { :id => @info_request.id,
:explanation => 'Foo',
:reason => 'vexatious' }