spec/europeana/api_spec.rb in europeana-api-0.4.3 vs spec/europeana/api_spec.rb in europeana-api-0.5.0

- old
+ new

@@ -10,11 +10,11 @@ described_class.defaults! end describe '.url' do it 'defaults to the live API URL' do - expect(subject.url).to eq('http://www.europeana.eu/api/v2') + expect(subject.url).to eq('https://www.europeana.eu/api/v2') end end describe '.url=' do let(:url) { 'http://www.example.com/v2' } @@ -68,10 +68,10 @@ it "sets the API URL to its default" do described_class.url = 'http://www.example.com/v2' expect { described_class.defaults! }. to change { described_class.url }. from('http://www.example.com/v2'). - to('http://www.europeana.eu/api/v2') + to('https://www.europeana.eu/api/v2') end it "sets retry delay to its default" do described_class.retry_delay = 3 expect { described_class.defaults! }.to change { described_class.retry_delay }.from(3).to(10)