Sha256: 827367a5cc73432b267efbde3354ec27430f3f43dc9f71078a5daa2f2489ffe4

Contents?: true

Size: 420 Bytes

Versions: 59

Compression:

Stored size: 420 Bytes

Contents

When(/^he try to access to the application$/) do
  visit root_path
  click_link "Connexion"
  fill_in "user_email", with: @user.email
  fill_in "user_password", with: @user.password
  find("[type=submit]").click
end

Then(/^a message signal that's the user is logged$/) do
  I18n.t("devise.sessions.signed_in")
end

Then(/^an error message signal that's account is inactive$/) do
  I18n.t("messages.users.inactive")
end

Version data entries

59 entries across 59 versions & 1 rubygems

Version Path
dorsale-3.12.0 features/step_definitions/access_steps.rb
dorsale-3.11.0 features/step_definitions/access_steps.rb
dorsale-3.10.3 features/step_definitions/access_steps.rb
dorsale-3.10.2 features/step_definitions/access_steps.rb
dorsale-3.10.1 features/step_definitions/access_steps.rb
dorsale-3.10.0 features/step_definitions/access_steps.rb
dorsale-3.9.8 features/step_definitions/access_steps.rb
dorsale-3.9.7 features/step_definitions/access_steps.rb
dorsale-3.9.6 features/step_definitions/access_steps.rb
dorsale-3.9.5 features/step_definitions/access_steps.rb
dorsale-3.9.4 features/step_definitions/access_steps.rb
dorsale-3.9.3 features/step_definitions/access_steps.rb
dorsale-3.9.2 features/step_definitions/access_steps.rb
dorsale-3.9.1 features/step_definitions/access_steps.rb
dorsale-3.9.0 features/step_definitions/access_steps.rb
dorsale-3.8.1 features/step_definitions/access_steps.rb
dorsale-3.8.0 features/step_definitions/access_steps.rb
dorsale-3.7.8 features/step_definitions/access_steps.rb
dorsale-3.7.7 features/step_definitions/access_steps.rb
dorsale-3.7.6 features/step_definitions/access_steps.rb