Test case for 2010-05-08 DE holiday -- closes GH-2
This commit is contained in:
parent
2b6d5c1b15
commit
474e1b660c
|
@ -103,6 +103,8 @@ tests: |
|
|||
[:de_bw, :de_by, :de_nw, :de_rp, :de_sl, :de_].each do |r|
|
||||
assert_equal 'Allerheiligen', Date.civil(2009,11,1).holidays(r)[0][:name]
|
||||
end
|
||||
|
||||
assert !Date.civil(2010,5,8).holiday?(:de), '2010-05-08 is not a holiday in Germany'
|
||||
|
||||
# Repentance Day
|
||||
assert_equal 'Buß- und Bettag', Date.civil(2004,11,17).holidays(:de_sn)[0][:name]
|
||||
|
|
|
@ -39,6 +39,8 @@ end
|
|||
assert_equal 'Allerheiligen', Date.civil(2009,11,1).holidays(r)[0][:name]
|
||||
end
|
||||
|
||||
assert !Date.civil(2010,5,8).holiday?(:de), '2010-05-08 is not a holiday in Germany'
|
||||
|
||||
# Repentance Day
|
||||
assert_equal 'Buß- und Bettag', Date.civil(2004,11,17).holidays(:de_sn)[0][:name]
|
||||
assert_equal 'Buß- und Bettag', Date.civil(2005,11,16).holidays(:de_sn)[0][:name]
|
||||
|
|
|
@ -75,6 +75,8 @@ end
|
|||
assert_equal 'Allerheiligen', Date.civil(2009,11,1).holidays(r)[0][:name]
|
||||
end
|
||||
|
||||
assert !Date.civil(2010,5,8).holiday?(:de), '2010-05-08 is not a holiday in Germany'
|
||||
|
||||
# Repentance Day
|
||||
assert_equal 'Buß- und Bettag', Date.civil(2004,11,17).holidays(:de_sn)[0][:name]
|
||||
assert_equal 'Buß- und Bettag', Date.civil(2005,11,16).holidays(:de_sn)[0][:name]
|
||||
|
|
Loading…
Reference in a new issue