test/factories/message.rb in hackathon_manager-0.7.1 vs test/factories/message.rb in hackathon_manager-0.8.0
- old
+ new
@@ -1,10 +1,11 @@
FactoryBot.define do
factory :message do
- name "Message Name"
- subject "Message Subject"
- recipients ["all"]
- body "Hello world!"
- queued_at nil
- delivered_at nil
+ type { "bulk" }
+ name { "Message Name" }
+ subject { "Message Subject" }
+ recipients { ["all"] }
+ body { "Hello world!" }
+ queued_at { nil }
+ delivered_at { nil }
end
end