spec/nsdate_spec.rb in sugarcube-0.19.0 vs spec/nsdate_spec.rb in sugarcube-0.19.2

- old
+ new

@@ -35,9 +35,13 @@ it "should have an NSDate#string_with_format method (2)" do @date.string_with_format("yyyyMMMMd HH:mm:ss").should == 'January 2, 2013, 12:15:30' end + it "should have an NSDate#string_with_format method (:iso8601)" do + @date.string_with_format(:iso8601).should == '2013-01-02 12:15:30.000' + end + it "should have an NSDate#timezone method" do String.should === @date.timezone.name end it "should have an NSDate#era method" do