Sha256: 84d2c650d4d9d86f0b44a7e0c77d338604d471108b81fafec491852de570e6b5
Contents?: true
Size: 517 Bytes
Versions: 16
Compression:
Stored size: 517 Bytes
Contents
require 'spec_helper' describe Note do it "can be instantiated" do Note.new.should be_an_instance_of(Note) end it "can be saved successfully" do Note.create.should be_persisted end it "can add note" do note = Note.create note.content = "test" note.save note.content.should == "test" end it "should have summmary" do note = Note.create note.content = "This is going to be summarized" note.save note.summary.should == "This is going to be s..." end end
Version data entries
16 entries across 16 versions & 1 rubygems