spec/parsi-date/strftime_spec.rb in parsi-date-0.2.6 vs spec/parsi-date/strftime_spec.rb in parsi-date-0.3.0

- old
+ new

@@ -1,8 +1,6 @@ # encoding: utf-8 -require File.expand_path('../../spec_helper', __FILE__) - describe "Parsi::Date#strftime" do it "should be able to print the date" do Parsi::Date.civil(1390, 4, 6).strftime.should == "1390/04/06" end @@ -105,6 +103,6 @@ it "should be able to show YY/MM/DD" do Parsi::Date.civil(1390, 4, 6).strftime("%x").should == "90/04/06" Parsi::Date.civil(1390, 4, 6).strftime("%x").should == Parsi::Date.civil(1390, 4, 6).strftime('%y/%m/%d') end -end \ No newline at end of file +end