DG IZ; fixed failing dashboard controller spec
This commit is contained in:
parent
d39d02c8ec
commit
24af7753fe
1 changed files with 1 additions and 0 deletions
|
|
@ -5,6 +5,7 @@ describe DashboardController do
|
|||
|
||||
before do
|
||||
request.env['warden'] = mock_model(Warden, :authenticate? => @user, :authenticate! => @user)
|
||||
Factory.create(:user, :profile => Profile.create( :first_name => "bob", :last_name => "smith"))
|
||||
end
|
||||
|
||||
it "index action should render index template" do
|
||||
|
|
|
|||
Loading…
Reference in a new issue