-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Holiday accompanying coronation day #101
Conversation
|
expect(@google_calendar.holiday?(date[0])).to eq true | ||
end | ||
end | ||
|
||
it 'holidays_detailed.yml shoud have date of Google calendar' do | ||
@gholidays.each do |date, name| | ||
expect(@holidays_detailed.key?(date)).to eq true | ||
expect(@holidays_detailed[date]['name']).to eq name | ||
expect(@holidays_detailed[date]['name']).to eq(name).or eq('休日').or eq('休日(祝日扱い)') |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
テスト対象との表記違いのため
@@ -21,14 +21,15 @@ | |||
|
|||
it 'Google calendar result should have date of holidays_detailed.yml' do | |||
@span.each do |date| | |||
next if date[0] == Date.new(2019, 10, 22) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
テストに利用しているGoogle Calendarに10月22日の祝日がまだ来ていないため
@holiday-jp/maintainers こちら近日中にリリースをします。各ライブラリの修正準備をお願いします 🙇 |
…on-day Holiday accompanying coronation day
…on-day Holiday accompanying coronation day
@holiday-jp/maintainers マージしました |
即位の礼に伴う祝日の修正です。
内閣府のページ に反映された段階でマージをしようと思います。