Skip to content

Commit

Permalink
should login for overview controller spec
Browse files Browse the repository at this point in the history
  • Loading branch information
David Henner committed Feb 7, 2011
1 parent 7d99dcd commit 1783c07
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions spec/controllers/admin/config/overviews_controller_spec.rb
Expand Up @@ -2,6 +2,13 @@

describe Admin::Config::OverviewsController do

before(:each) do
activate_authlogic

@user = Factory(:admin_user)
login_as(@user)
end

def mock_overview(stubs={})
#@mock_overview ||= mock_model(Admin::Config::Overview, stubs).as_null_object
end
Expand Down

0 comments on commit 1783c07

Please sign in to comment.