fixed dashboard test
This commit is contained in:
parent
9e89b2e0a7
commit
b8e2fd018f
1 changed files with 2 additions and 2 deletions
|
|
@ -1,10 +1,10 @@
|
|||
require File.dirname(__FILE__) + '/../spec_helper'
|
||||
|
||||
describe DashboardController do
|
||||
fixtures :all
|
||||
integrate_views
|
||||
render_views
|
||||
|
||||
it "index action should render index template" do
|
||||
request.env['warden'] = mock_model(Warden, :authenticate? => @user, :authenticate! => @user)
|
||||
get :index
|
||||
response.should render_template(:index)
|
||||
end
|
||||
|
|
|
|||
Loading…
Reference in a new issue