diff options
author | Robin Houston <robin@lenny.robin> | 2011-07-13 22:30:28 +0100 |
---|---|---|
committer | Robin Houston <robin@lenny.robin> | 2011-07-13 22:30:28 +0100 |
commit | 0333d70ee61cebe3eacfa373473186950027616c (patch) | |
tree | d1d3e15287fad11be6634a5649fc3adb9bf56783 /spec/controllers/admin_general_controller_spec.rb | |
parent | 0c9fd4ac103f33f0caa78daaf36af3a905dd47ff (diff) |
Make the tests work with authentication
Diffstat (limited to 'spec/controllers/admin_general_controller_spec.rb')
-rw-r--r-- | spec/controllers/admin_general_controller_spec.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/spec/controllers/admin_general_controller_spec.rb b/spec/controllers/admin_general_controller_spec.rb index d1ac4cbb2..4c3708268 100644 --- a/spec/controllers/admin_general_controller_spec.rb +++ b/spec/controllers/admin_general_controller_spec.rb @@ -2,6 +2,7 @@ require File.expand_path(File.dirname(__FILE__) + '/../spec_helper') describe AdminGeneralController, "when viewing front page of admin interface" do integrate_views + before { basic_auth_login @request } it "should render the front page" do get :index |