Refactoring the code for pub sub (#155)
- We were using the attribute name 'channel' to store pubsub tokens, which was confusing. - switched to faker from ffaker - spec for contact.rb
This commit is contained in:
@@ -8,8 +8,8 @@ FactoryBot.define do
|
||||
|
||||
provider { 'email' }
|
||||
uid { SecureRandom.uuid }
|
||||
name { FFaker::Name.name }
|
||||
nickname { FFaker::InternetSE.user_name_from_name(name) }
|
||||
name { Faker::Name.name }
|
||||
nickname { Faker::Name.first_name }
|
||||
email { nickname + '@example.com' }
|
||||
role { 'agent' }
|
||||
password { "password" }
|
||||
|
||||
Reference in New Issue
Block a user