Sha256: 59a499e41d071c3f295ba3ea0a2b9f59220d598d5396c1d6dd483be19ce52564
Contents?: true
Size: 643 Bytes
Versions: 13
Compression:
Stored size: 643 Bytes
Contents
RSpec.feature 'Change email', type: :feature do background do user = create(:user) visit spree.root_path click_link 'Login' fill_in 'spree_user[email]', with: user.email fill_in 'spree_user[password]', with: 'secret' click_button 'Login' visit spree.edit_account_path end scenario 'work with correct password' do fill_in 'user_email', with: 'tests@example.com' fill_in 'user_password', with: 'password' fill_in 'user_password_confirmation', with: 'password' click_button 'Update' expect(page).to have_text 'Account updated' expect(page).to have_text 'tests@example.com' end end
Version data entries
13 entries across 13 versions & 2 rubygems