spec/integration/client_spec.rb in ezid-client-1.9.2 vs spec/integration/client_spec.rb in ezid-client-1.9.3
- old
+ new
@@ -72,10 +72,10 @@
@created = metadata.created.iso8601
end
it "should return a valid URL" do
response = subject.batch_download(format: "anvl", createdAfter: @created, permanence: "test")
expect(response).to be_success
- expect(response.download_url).to match(/^http:\/\/ezid.cdlib.org\/download\/[^\/]+.gz$/)
+ expect(response.download_url).to match(/^https?:\/\/ezid.cdlib.org\/download\/[^\/]+.gz$/)
end
end
end
end