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