spec/controllers/terms_controller_spec.rb in qa-2.3.0 vs spec/controllers/terms_controller_spec.rb in qa-3.0.0

- old
+ new

@@ -76,11 +76,11 @@ end end context "loc" do before do - stub_request(:get, "https://id.loc.gov/search/?format=json&q=Berry&q=cs:http://id.loc.gov/authorities/names") + stub_request(:get, "http://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 @@ -182,10 +182,10 @@ end describe "#show" do context "with supported authorities" do before do - stub_request(:get, "https://id.loc.gov/authorities/subjects/sh85077565.json") + stub_request(:get, "http://id.loc.gov/authorities/subjects/sh85077565.json") .with(headers: { 'Accept' => 'application/json' }) .to_return(status: 200, body: webmock_fixture("loc-names-response.txt"), headers: {}) end it "returns an individual state term" do