From 5e7399d7b4a7bbd4551b5b5fbef0ad00dd936d89 Mon Sep 17 00:00:00 2001 From: Mantas Masalskis Date: Wed, 5 May 2021 18:35:38 +0300 Subject: [PATCH] Follow up #3545 - Ensure Google Calendars are fetched via HTTPS --- spec/requests/calendar_spec.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spec/requests/calendar_spec.rb b/spec/requests/calendar_spec.rb index 934a0c13d..087494e66 100644 --- a/spec/requests/calendar_spec.rb +++ b/spec/requests/calendar_spec.rb @@ -57,8 +57,8 @@ RSpec.describe 'Calendars', type: :request do expect(json_response).to be_a_kind_of(Hash) expect(json_response['record_ids']).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']['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/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/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']['Africa/Johannesburg']).to eq(2) expect(json_response['timezones']['America/Sitka']).to be_between(-9, -8)