Sha256: fc48ff64a2d26a7c0a7e03e461cc311fe02604bf1703d195c093d4c951494dfc
Contents?: true
Size: 344 Bytes
Versions: 28
Compression:
Stored size: 344 Bytes
Contents
require 'spec_helper' describe Blog do it "can be instantiated" do Blog.new.should be_an_instance_of(Blog) end it "can be saved successfully" do Blog.create(:title => "Some Title").should be_persisted end it "can find_blog_post" do blog = Blog.create(:title => "some title") blog.find_blog_post('test') end end
Version data entries
28 entries across 28 versions & 1 rubygems