Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
describe Article do
subject(:article) { }
it "validates presence of :title" do
article.should validate_presence_of(:title)

This comment has been minimized.

Show comment Hide comment

dchelimsky May 15, 2012

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment