trabajo-afectivo/spec/factories/ticket/article.rb

15 lines
441 B
Ruby
Raw Normal View History

2017-05-05 09:16:47 +00:00
FactoryGirl.define do
factory :ticket_article, class: Ticket::Article do
from 'factory-customer-1@example.com'
to 'factory-customer-1@example.com'
subject 'factory article'
message_id 'factory@id_com_1'
body 'some message 123'
internal false
sender { Ticket::Article::Sender.find_by(name: 'Customer') }
type { Ticket::Article::Type.find_by(name: 'email') }
updated_by_id 1
created_by_id 1
end
end