Remove extra attribute change in SessionsController POST create spec

This commit is contained in:
Thibault Jouan 2011-08-24 20:30:53 +00:00
parent c023a071d0
commit 07c2b5f525

View File

@ -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