Enhancement: Move reporting metrics to postgres (#606)
This commit is contained in:
10
spec/factories/events.rb
Normal file
10
spec/factories/events.rb
Normal file
@@ -0,0 +1,10 @@
|
||||
FactoryBot.define do
|
||||
factory :event do
|
||||
name { 'MyString' }
|
||||
value { 1.5 }
|
||||
account_id { 1 }
|
||||
inbox_id { 1 }
|
||||
user_id { 1 }
|
||||
conversation_id { 1 }
|
||||
end
|
||||
end
|
||||
@@ -13,7 +13,7 @@ FactoryBot.define do
|
||||
uid { SecureRandom.uuid }
|
||||
name { Faker::Name.name }
|
||||
nickname { Faker::Name.first_name }
|
||||
email { nickname + '@example.com' }
|
||||
email { nickname + "@#{SecureRandom.uuid}.com" }
|
||||
password { 'password' }
|
||||
|
||||
after(:build) do |user, evaluator|
|
||||
|
||||
Reference in New Issue
Block a user