Sha256: 96cd30b4c7ac431cc24f02a789c8a24deba7eb38fd4c1e742a06b1d9b6c9ab42

Contents?: true

Size: 258 Bytes

Versions: 5

Compression:

Stored size: 258 Bytes

Contents

require_relative '../../spec_helper.rb'

describe Nextday::Holiday do

  subject { Nextday::Holiday.new("Christmas Day", Date.new(2012, 12, 25)) }
  
  it { subject.name.should eql("Christmas Day")}
  it { subject.date.should eql(Date.new(2012, 12, 25))}
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
nextday-0.4.0 spec/lib/nextday/holiday_spec.rb
nextday-0.3.0 spec/lib/nextday/holiday_spec.rb
nextday-0.2.0 spec/lib/nextday/holiday_spec.rb
nextday-0.1.0 spec/lib/nextday/holiday_spec.rb
nextday-0.0.1 spec/lib/nextday/holiday_spec.rb