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