spec/spec_helper.rb in europeana-blacklight-0.4.0 vs spec/spec_helper.rb in europeana-blacklight-0.4.1
- old
+ new
@@ -23,14 +23,14 @@
config.expect_with :rspec do |c|
c.syntax = :expect
end
config.before(:each) do
- stub_request(:get, %r{http://www.europeana.eu/api/v2/record/[^/]+/[^/.]+\.json}).
+ stub_request(:get, %r{https://www.europeana.eu/api/v2/record/[^/]+/[^/.]+\.json}).
with(query: hash_including(:wskey)).
to_return(body: '{"success":true}', headers: { 'content-type' => 'application/json' })
- stub_request(:get, 'http://www.europeana.eu/api/v2/search.json').
+ stub_request(:get, 'https://www.europeana.eu/api/v2/search.json').
with(query: hash_including(:wskey, :query)).
to_return(body: '{"success":true}', headers: { 'content-type' => 'application/json' })
end
end