aboutsummaryrefslogtreecommitdiffstats
path: root/spec/controllers/request_controller_spec.rb
diff options
context:
space:
mode:
authorMatthew Landauer <matthew@openaustralia.org>2013-03-04 08:54:57 +1100
committerMatthew Landauer <matthew@openaustralia.org>2013-03-04 08:54:57 +1100
commitab8f4379a6b43cd5578a6a7d6268cb904e69b2ff (patch)
tree4ae8d48f80858611faccf7ce87816bc321296290 /spec/controllers/request_controller_spec.rb
parent2e9b6d80aee6bfe15149566c9c9a0a62fd1ab39e (diff)
Inline temporary variables
Diffstat (limited to 'spec/controllers/request_controller_spec.rb')
-rw-r--r--spec/controllers/request_controller_spec.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/spec/controllers/request_controller_spec.rb b/spec/controllers/request_controller_spec.rb
index a82b3d952..0f39d01ce 100644
--- a/spec/controllers/request_controller_spec.rb
+++ b/spec/controllers/request_controller_spec.rb
@@ -1328,6 +1328,7 @@ describe RequestController, "when classifying an information request" do
end
it 'should ask whether the request is old and unclassified' do
+ session[:user_id] = users(:silly_name_user).id
@dog_request.should_receive(:is_old_unclassified?)
post_status('rejected')
end