Merge remote-tracking branch 'parent/main' into upstream-20240118
This commit is contained in:
commit
2b51fabe9c
397 changed files with 2899 additions and 3252 deletions
|
@ -64,7 +64,7 @@ RSpec.describe UserPolicy do
|
|||
|
||||
context 'when record.confirmed?' do
|
||||
it 'denies' do
|
||||
john.user.confirm!
|
||||
john.user.mark_email_as_confirmed!
|
||||
expect(subject).to_not permit(admin, john.user)
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue