Skip to content
This repository was archived by the owner on Feb 8, 2026. It is now read-only.
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions spec/features/account_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
describe 'editing', js: true do
before do
allow_bypass_sign_in
I18n.locale = 'en'
end

scenario 'can edit an admin user' do
Expand Down Expand Up @@ -34,6 +35,7 @@
fill_in 'Password Confirmation', with: 'foobar'
click_button 'Update'

show_user_account
expect(page).to have_text 'email@person.com'
expect(page).to have_text 'Account updated'
end
Expand All @@ -55,6 +57,7 @@
fill_in 'Password Confirmation', with: 'foobar'
click_button 'Update'

show_user_account
expect(page).to have_text 'email@person.com'
expect(page).to have_text 'Account updated'
end
Expand Down