spec/controllers/terms_controller_spec.rb in qa-5.5.0 vs spec/controllers/terms_controller_spec.rb in qa-5.5.1
- old
+ new
@@ -80,10 +80,10 @@
end
end
context "loc" do
before do
- stub_request(:get, "https://id.loc.gov/search/?format=json&q=Berry&q=cs:https://id.loc.gov/authorities/names")
+ stub_request(:get, "https://id.loc.gov/search/?format=json&q=Berry&q=cs:http://id.loc.gov/authorities/names")
.with(headers: { 'Accept' => 'application/json' })
.to_return(body: webmock_fixture("loc-names-response.txt"), status: 200)
end
it "returns a set of terms for a tgnlang query" do