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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment