Follow up #3545 - Ensure Google Calendars are fetched via HTTPS
This commit is contained in:
parent
00decb0923
commit
5e7399d7b4
1 changed files with 2 additions and 2 deletions
|
@ -57,8 +57,8 @@ RSpec.describe 'Calendars', type: :request do
|
||||||
expect(json_response).to be_a_kind_of(Hash)
|
expect(json_response).to be_a_kind_of(Hash)
|
||||||
expect(json_response['record_ids']).to be_truthy
|
expect(json_response['record_ids']).to be_truthy
|
||||||
expect(json_response['ical_feeds']).to be_truthy
|
expect(json_response['ical_feeds']).to be_truthy
|
||||||
expect(json_response['ical_feeds']['http://www.google.com/calendar/ical/da.danish%23holiday%40group.v.calendar.google.com/public/basic.ics']).to eq('Denmark')
|
expect(json_response['ical_feeds']['https://www.google.com/calendar/ical/da.danish%23holiday%40group.v.calendar.google.com/public/basic.ics']).to eq('Denmark')
|
||||||
expect(json_response['ical_feeds']['http://www.google.com/calendar/ical/de.austrian%23holiday%40group.v.calendar.google.com/public/basic.ics']).to eq('Austria')
|
expect(json_response['ical_feeds']['https://www.google.com/calendar/ical/de.austrian%23holiday%40group.v.calendar.google.com/public/basic.ics']).to eq('Austria')
|
||||||
expect(json_response['timezones']).to be_truthy
|
expect(json_response['timezones']).to be_truthy
|
||||||
expect(json_response['timezones']['Africa/Johannesburg']).to eq(2)
|
expect(json_response['timezones']['Africa/Johannesburg']).to eq(2)
|
||||||
expect(json_response['timezones']['America/Sitka']).to be_between(-9, -8)
|
expect(json_response['timezones']['America/Sitka']).to be_between(-9, -8)
|
||||||
|
|
Loading…
Reference in a new issue