Skip to content

Instantly share code, notes, and snippets.

@msarit
Created April 6, 2018 15:09
Show Gist options
  • Save msarit/758bba7991861de4009962c82953b78e to your computer and use it in GitHub Desktop.
Save msarit/758bba7991861de4009962c82953b78e to your computer and use it in GitHub Desktop.
factories
FactoryBot.define do
factory :gram do
sequence :message do |m|
"Hello! This is dummy message No. #{m}."
end
association :user
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment