Sha256: 0e3ae822da23776d29e417b15bd415df2c1ad6a6e91e9e95c7d2a6745603647e

Contents?: true

Size: 860 Bytes

Versions: 36

Compression:

Stored size: 860 Bytes

Contents

Given /^(?:I am signed in|I sign in)$/ do
  automatic_login
  confirm_login
end

When /^I (?:sign|log) in as "([^"]*)"$/ do |name|
  @me = User.find_by_name(name)
  @me.password = 'password'
  automatic_login
end

When /^I fill out change password section with my password and "([^"]*)" and "([^"]*)"$/ do |new_pass, confirm_pass|
  fill_change_password_section(@me.password, new_pass, confirm_pass)
end

When /^I fill out forgot password form with "([^"]*)"$/ do |email|
  fill_forgot_password_form(email)
end

When /^I submit forgot password form$/ do
  submit_forgot_password_form
end

When /^I fill out reset password form with "([^"]*)" and "([^"]*)"$/ do |new_pass,confirm_pass|
  fill_reset_password_form(new_pass, confirm_pass)
end

When /^I submit reset password form$/ do
  submit_reset_password_form
end

When /^I (?:log|sign) out$/ do
  logout
end

Version data entries

36 entries across 21 versions & 1 rubygems

Version Path
voluntary-0.7.1 lib/generators/voluntary/install/templates/features/step_definitions/session_steps.rb
voluntary-0.7.0 lib/generators/voluntary/install/templates/features/step_definitions/session_steps.rb
voluntary-0.6.0 lib/generators/voluntary/install/templates/features/step_definitions/session_steps.rb
voluntary-0.5.2 lib/generators/voluntary/install/templates/features/step_definitions/session_steps.rb
voluntary-0.5.1 lib/generators/voluntary/install/templates/features/step_definitions/session_steps.rb
voluntary-0.5.0 lib/generators/voluntary/install/templates/features/step_definitions/session_steps.rb
voluntary-0.5.0 lib/generators/voluntary/product_dummy/templates/features/step_definitions/session_steps.rb
voluntary-0.4.0 lib/generators/voluntary/product_dummy/templates/features/step_definitions/session_steps.rb
voluntary-0.4.0 lib/generators/voluntary/install/templates/features/step_definitions/session_steps.rb
voluntary-0.3.0 lib/generators/voluntary/product_dummy/templates/features/step_definitions/session_steps.rb
voluntary-0.3.0 lib/generators/voluntary/install/templates/features/step_definitions/session_steps.rb
voluntary-0.2.4 lib/generators/voluntary/product_dummy/templates/features/step_definitions/session_steps.rb
voluntary-0.2.4 lib/generators/voluntary/install/templates/features/step_definitions/session_steps.rb
voluntary-0.2.3 lib/generators/voluntary/install/templates/features/step_definitions/session_steps.rb
voluntary-0.2.3 lib/generators/voluntary/product_dummy/templates/features/step_definitions/session_steps.rb
voluntary-0.2.2 lib/generators/voluntary/install/templates/features/step_definitions/session_steps.rb
voluntary-0.2.2 lib/generators/voluntary/product_dummy/templates/features/step_definitions/session_steps.rb
voluntary-0.2.1 lib/generators/voluntary/product_dummy/templates/features/step_definitions/session_steps.rb
voluntary-0.2.1 lib/generators/voluntary/install/templates/features/step_definitions/session_steps.rb
voluntary-0.2.0 lib/generators/voluntary/install/templates/features/step_definitions/session_steps.rb