Remove extra attribute change in SessionsController POST create spec
This commit is contained in:
parent
c023a071d0
commit
07c2b5f525
@ -12,7 +12,7 @@ describe SessionsController do
|
|||||||
it 'renders the new template' do
|
it 'renders the new template' do
|
||||||
User.stub(:authenticate).and_return(false)
|
User.stub(:authenticate).and_return(false)
|
||||||
post :create,
|
post :create,
|
||||||
:session => Factory.attributes_for(:user, :password => 'WRONG')
|
:session => Factory.attributes_for(:user)
|
||||||
response.should render_template('new')
|
response.should render_template('new')
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
Loading…
x
Reference in New Issue
Block a user