Skip to content

Commit

Permalink
Fix self registration feature spec
Browse files Browse the repository at this point in the history
  • Loading branch information
mtnstar committed Feb 5, 2024
1 parent f0703d3 commit 46f85b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/features/self_registration_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ class ReadOnly < ::Role
fill_in 'Haupt-E-Mail', with: '[email protected]'

expect do
find_all('.btn-toolbar.bottom .btn-group button[type="submit"]').first.click # submit
find_all('.btn-toolbar.bottom button[type="submit"]').first.click # submit
end.to change { Person.count }.by(1)
.and change { ActionMailer::Base.deliveries.count }.by(1)

Expand Down

0 comments on commit 46f85b4

Please sign in to comment.