Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
FactoryGirl.define do
factory :private_message, class: 'Private::Message' do
body 'a' * 20
association :conversation, factory: :private_conversation
user
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment