From 2294af13fd363cc6e845ba5cd7cf3d9869651825 Mon Sep 17 00:00:00 2001 From: Eric Davis Date: Tue, 21 Apr 2009 15:12:59 -0700 Subject: [PATCH] Make sure the spec user isn't allowed to access anything --- .../overhead_time_entry_activity_controller_spec.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/spec/controllers/overhead_time_entry_activity_controller_spec.rb b/spec/controllers/overhead_time_entry_activity_controller_spec.rb index ebdc8bd..43629fa 100644 --- a/spec/controllers/overhead_time_entry_activity_controller_spec.rb +++ b/spec/controllers/overhead_time_entry_activity_controller_spec.rb @@ -11,7 +11,8 @@ describe OverheadTimeEntryActivityController, "#index as non-admin" do :language => :en, :anonymous? => false, :name => 'Test user', - :projects => Project + :projects => Project, + :allowed_to? => false ) end end