From eea783509c270999d2a4d7cc444d5795953e0428 Mon Sep 17 00:00:00 2001 From: bbugh Date: Wed, 27 Feb 2013 19:59:00 -0800 Subject: [PATCH] Fixed a bug where changing the password of the :user factory would cause the Cucumber specs to break. --- features/step_definitions/user_steps.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/features/step_definitions/user_steps.rb b/features/step_definitions/user_steps.rb index f302f68..11c82c5 100644 --- a/features/step_definitions/user_steps.rb +++ b/features/step_definitions/user_steps.rb @@ -19,7 +19,7 @@ def create_unconfirmed_user def create_user create_visitor delete_user - @user = FactoryGirl.create(:user, email: @visitor[:email]) + @user = FactoryGirl.create(:user, @visitor) end def delete_user