test/factories/users.rb in devise_token_auth-1.1.2 vs test/factories/users.rb in devise_token_auth-1.1.3
- old
+ new
@@ -1,7 +1,7 @@
FactoryBot.define do
factory :user do
- email { Faker::Internet.safe_email }
+ email { Faker::Internet.unique.safe_email }
password { Faker::Internet.password }
provider { 'email' }
transient do
allow_unconfirmed_period { Time.now.utc - Devise.allow_unconfirmed_access_for }