Create a gist now

Instantly share code, notes, and snippets.

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

This comment has been minimized.

Show comment Hide comment
@dchelimsky

dchelimsky May 15, 2012

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