Sha256: f7148c0f46546b248fbc5298fd63885f66a034ac0c3afd48ad02ac76e5231309
Contents?: true
Size: 610 Bytes
Versions: 5
Compression:
Stored size: 610 Bytes
Contents
RSpec.feature 'Sign Out', type: :feature do given!(:user) do create(:user, email: 'email@person.com', password: 'secret', password_confirmation: 'secret') end background do visit spree.login_path fill_in 'Email', with: user.email fill_in 'Password', with: user.password # Regression test for #1257 check 'Remember me' click_button 'Login' end scenario 'allow a signed in user to logout', js: true do click_link 'Logout' visit spree.root_path expect(page).to have_text 'Login' expect(page).not_to have_text 'Logout' end end
Version data entries
5 entries across 5 versions & 1 rubygems