diff --git a/spec/controllers/sessions_controller_spec.rb b/spec/controllers/sessions_controller_spec.rb index d57c20e..419d787 100644 --- a/spec/controllers/sessions_controller_spec.rb +++ b/spec/controllers/sessions_controller_spec.rb @@ -12,7 +12,7 @@ describe SessionsController do it 'renders the new template' do User.stub(:authenticate).and_return(false) post :create, - :session => Factory.attributes_for(:user, :password => 'WRONG') + :session => Factory.attributes_for(:user) response.should render_template('new') end end