Sha256: 4335f56bc7d34bdd93a63a9073e16499616418e36d8f6a33bd7ac33b6e587d84

Contents?: true

Size: 291 Bytes

Versions: 32

Compression:

Stored size: 291 Bytes

Contents

Given /^I have a user with email "(.*)"$/ do |email|
  Factory(:refinery_user, :email => email)
end

Given /^I am (not )?requesting password reset$/ do |action|
  @user = Factory(:refinery_user, :updated_at => 11.minutes.ago)
  @user.send(:generate_reset_password_token!) if action.nil?
end

Version data entries

32 entries across 32 versions & 2 rubygems

Version Path
refinerycms-authentication-1.0.11 features/step_definitions/lost_password.rb
refinerycms-authentication-1.0.10 features/step_definitions/lost_password.rb
refinerycms-authentication-1.0.9 features/step_definitions/lost_password.rb
refinerycms-authentication-1.0.8 features/step_definitions/lost_password.rb
refinerycms-authentication-1.0.7 features/step_definitions/lost_password.rb
refinerycms-authentication-1.0.5 features/step_definitions/lost_password.rb
refinerycms-authentication-1.0.4 features/step_definitions/lost_password.rb
refinerycms-authentication-1.0.3 features/step_definitions/lost_password.rb
refinerycms-authentication-1.0.1 features/step_definitions/lost_password.rb
refinerycms-authentication-1.0.0 features/step_definitions/lost_password.rb
refinerycms-authentication-0.9.9.22 features/step_definitions/lost_password.rb
refinerycms-authentication-0.9.9.21 features/step_definitions/lost_password.rb
refinerycms-authentication-0.9.9.20 features/step_definitions/lost_password.rb
refinerycms-authentication-0.9.9.19 features/step_definitions/lost_password.rb
refinerycms-authentication-0.9.9.18 features/step_definitions/lost_password.rb
refinerycms-authentication-0.9.9.17 features/step_definitions/lost_password.rb
refinerycms-authentication-0.9.9.16 features/step_definitions/lost_password.rb
refinerycms-authentication-0.9.9.15 features/step_definitions/lost_password.rb
refinerycms-authentication-0.9.9.14 features/step_definitions/lost_password.rb
refinerycms-authentication-0.9.9.13 features/step_definitions/lost_password.rb