summaryrefslogtreecommitdiff
path: root/spec/models/members/group_member_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/models/members/group_member_spec.rb')
-rw-r--r--spec/models/members/group_member_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/models/members/group_member_spec.rb b/spec/models/members/group_member_spec.rb
index 908bb9f91a3..3a2db5d8516 100644
--- a/spec/models/members/group_member_spec.rb
+++ b/spec/models/members/group_member_spec.rb
@@ -85,11 +85,11 @@ RSpec.describe GroupMember do
expect(user).to receive(:update_two_factor_requirement)
- group_member.save
+ group_member.save!
expect(user).to receive(:update_two_factor_requirement)
- group_member.destroy
+ group_member.destroy!
end
end