Make sure the spec user isn't allowed to access anything
This commit is contained in:
@@ -11,7 +11,8 @@ describe OverheadTimeEntryActivityController, "#index as non-admin" do
|
|||||||
:language => :en,
|
:language => :en,
|
||||||
:anonymous? => false,
|
:anonymous? => false,
|
||||||
:name => 'Test user',
|
:name => 'Test user',
|
||||||
:projects => Project
|
:projects => Project,
|
||||||
|
:allowed_to? => false
|
||||||
)
|
)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user