Create a gist now

Instantly share code, notes, and snippets.

describe Article do
subject(:article) { Article.new }
it "validates presence of :title" do
article.should validate_presence_of(:title)
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment