Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Tree: 75b49dc1c2
Fetching contributors…

Cannot retrieve contributors at this time

18 lines (13 sloc) 0.507 kB
require File.dirname(__FILE__) + '/database'
describe "A story" do
before do
reset_db
Story.create :text => "Once upon a time..."
end
it "should be shared" do
Story.find(:first).tell.should == 'Once upon a time...'
end
it "should not return its result if it storytelling is delayed" do
Story.find(:first).send_later(:tell).should_not == 'Once upon a time...'
end
end
Jump to Line
Something went wrong with that request. Please try again.