diff options
Diffstat (limited to 'spec/models')
-rw-r--r-- | spec/models/user_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/models/user_spec.rb b/spec/models/user_spec.rb index 9cb36d467..13a60f668 100644 --- a/spec/models/user_spec.rb +++ b/spec/models/user_spec.rb @@ -150,7 +150,7 @@ RSpec.describe User, type: :model do end it 'saves cleared otp_backup_codes' do - user = Fabricate.build(:user, otp_backup_codes: %w[dummy dummy]) + user = Fabricate.build(:user, otp_backup_codes: %w(dummy dummy)) user.disable_two_factor! expect(user.reload.otp_backup_codes.empty?).to be true end |