Skip to content

Instantly share code, notes, and snippets.

@elomar
Created May 22, 2009 15:07
Show Gist options
  • Select an option

  • Save elomar/116175 to your computer and use it in GitHub Desktop.

Select an option

Save elomar/116175 to your computer and use it in GitHub Desktop.
Post.blueprint do
title "Hello world"
text "<p>Hello there</p>"*3
published_on Date.today
author { User.make }
end
Comment.blueprint do
author_name "Test name"
author_email "unknown@maisweb.org"
post
end
User.blueprint do
name "User"
email "user@test.com"
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment