Sha256: 36a06c539b644da12f278a78c49dac2a8fd31b95d28585cde8d78d40fc4e27e0
Contents?: true
Size: 411 Bytes
Versions: 1
Compression:
Stored size: 411 Bytes
Contents
require 'helper' class TestHolidayJp < Test::Unit::TestCase should "#between return correct holidays" do holidays = HolidayJp.between(Date.new(2009, 1, 1), Date.new(2009, 1, 31)) assert_equal holidays[0][:date], Date.new(2009, 1, 1) assert_equal holidays[0][:name], "元日" assert_equal holidays[1][:date], Date.new(2009, 1, 12) assert_equal holidays[1][:name], "成人の日" end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
holiday_jp-0.1.0 | test/test_holiday_jp.rb |