Sha256: e07ac3b89da09615f199db491fcd4aa1df57b073b207c1892735703428b9e9f9

Contents?: true

Size: 564 Bytes

Versions: 6

Compression:

Stored size: 564 Bytes

Contents

require(File.join(File.dirname(__FILE__), '..', 'date_spec_helper'))

describe "Date constants" do

  it "should define MONTHNAMES" do
    Date::MONTHNAMES.should == [nil] + %w(January February March April May June July
                                          August September October November December)
  end
  
  it "should define DAYNAMES" do
    Date::DAYNAMES.should == %w(Sunday Monday Tuesday Wednesday Thursday Friday Saturday)
  end
  
  it "should define ABBR_MONTHNAMES" do
    Date::ABBR_DAYNAMES.should == %w(Sun Mon Tue Wed Thu Fri Sat)
  end

end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
third_base-1.3.0 spec/date/constants_spec.rb
third_base-1.2.0 spec/date/constants_spec.rb
third_base-1.1.1 spec/date/constants_spec.rb
third_base-1.0.1 spec/date/constants_spec.rb
third_base-1.1.0 spec/date/constants_spec.rb
third_base-1.0.0 spec/date/constants_spec.rb