Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
factory :post do
title "Example Post"
body "This is the body of the example post"
meta { { version: 2 } }
# or
meta({ version: 2 })
created_at "2012-06-01 17:53:13"
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment