public
Created — forked from avdi/gist:2705101

  • Download Gist
gistfile1.rb
Ruby
1 2 3 4 5 6 7
describe Article do
subject(:article) { Article.new }
 
it "validates presence of :title" do
article.should validate_presence_of(:title)
end
end

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.