Retrospring/spec/factories/notifications.rb

9 lines
150 B
Ruby

FactoryBot.define do
factory :notification do
target_type { "MyString" }
target_id { 1 }
recipient_id { 1 }
new { false }
end
end