diff options
Diffstat (limited to 'spec/factories/emails.rb')
-rw-r--r-- | spec/factories/emails.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/factories/emails.rb b/spec/factories/emails.rb index 284ba631c37..b30fa8a5896 100644 --- a/spec/factories/emails.rb +++ b/spec/factories/emails.rb @@ -6,6 +6,6 @@ FactoryBot.define do email { generate(:email_alias) } trait(:confirmed) { confirmed_at { Time.now } } - trait(:skip_validate) { to_create {|instance| instance.save(validate: false) } } + trait(:skip_validate) { to_create {|instance| instance.save!(validate: false) } } end end |