From 07c2b5f5254e537d8729d31a97b0964f5a13cda5 Mon Sep 17 00:00:00 2001 From: Thibault Jouan Date: Wed, 24 Aug 2011 20:30:53 +0000 Subject: [PATCH] Remove extra attribute change in SessionsController POST create spec --- spec/controllers/sessions_controller_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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