Created
November 13, 2017 15:12
-
-
Save domagude/50ad5c5a90f8b2a8fdb5b07eaf7f4771 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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