spec/time_spec.rb in visionmedia-rext-0.0.3 vs spec/time_spec.rb in visionmedia-rext-0.0.4

- old
+ new

@@ -1,11 +1,10 @@ require 'rext/time' describe Time do describe "helpers" do - describe "#in_words_since" do it "should convert time lost to words" do event = Time.now - 5.seconds event.in_words_since_now.should == 'less than one minute' event -= 1.minute @@ -16,8 +15,7 @@ event.in_words_since_now.should == '5 years' event -= 100.years event.in_words_since_now.should == 'hundreds of years' end end - end end \ No newline at end of file