Sha256: a07e7b719e5e51e75137f8723c474369a30b065f6c1c7b8b43f7b2e7fe1a7d9b

Contents?: true

Size: 259 Bytes

Versions: 5

Compression:

Stored size: 259 Bytes

Contents

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

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

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
refinerycms-0.9.8.5 vendor/refinerycms/authentication/features/step_definitions/lost_password.rb
refinerycms-0.9.8.4 vendor/refinerycms/authentication/features/step_definitions/lost_password.rb
refinerycms-0.9.8.3 vendor/refinerycms/authentication/features/step_definitions/lost_password.rb
refinerycms-0.9.8.2 vendor/refinerycms/authentication/features/step_definitions/lost_password.rb
refinerycms-0.9.8.1 vendor/refinerycms/authentication/features/step_definitions/lost_password.rb