aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'features/step_definitions')
-rw-r--r--features/step_definitions/users_steps.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/features/step_definitions/users_steps.rb b/features/step_definitions/users_steps.rb
index dee6e1d..7bc1a4d 100644
--- a/features/step_definitions/users_steps.rb
+++ b/features/step_definitions/users_steps.rb
@@ -2,7 +2,7 @@ Given /^user "([^\"]*)"$/ do |user_name|
@user = User.find_by_name(user_name)
if @user.nil?
@user = User.create!( :name => user_name, :email_address => "#{user_name}@users.org",
- :password => "secret", :password_confirmation => "secret")
+ :password => "secret", :password_confirmation => "secret", :nick => user_name)
end
end