Sha256: 11a27072a564ca7c7dacd42b83d9def47c4ee57a906129be7283059b87659af5

Contents?: true

Size: 347 Bytes

Versions: 3

Compression:

Stored size: 347 Bytes

Contents

When /^I visit the user pswd reset page$/ do
  visit user_pswd_reset_path(:token => @reset_token)
end

Given /^the user reset token is set$/ do
  @reset_token = User.set_reset_token(@user.email).reset_token
end

Given /^the reset token is blank$/ do
  @reset_token = ""
  
end
Given /^the reset token is invalid$/ do
  @reset_token = "invalid"
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
rules_engine_users-0.0.3 rails_generators/templates/features/user/step_definitions/pswd_reset_steps.rb
rules_engine_users-0.0.2 rails_generators/templates/features/user/step_definitions/pswd_reset_steps.rb
rules_engine_users-0.0.1 rails_generators/templates/features/user/step_definitions/pswd_reset_steps.rb