Skip to content

Commit

Permalink
change env urls back to library
Browse files Browse the repository at this point in the history
  • Loading branch information
CEdwardsBlasikiewicz committed Dec 11, 2024
1 parent bf6ec59 commit 582f76a
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions spec/support/webmock.rb
Original file line number Diff line number Diff line change
Expand Up @@ -282,13 +282,13 @@

global_message = IO.read("spec/files/global_message.json")

WebMock.stub_request(:get, "https://www.library.gov.au/catalogue-message")
.with(
headers: {
"Accept" => "application/json",
"Accept-Encoding" => "gzip;q=1.0,deflate;q=0.6,identity;q=0.3"
}
)
.to_return(status: 200, body: global_message, headers: {})
# WebMock.stub_request(:get, "https://www.library.gov.au/catalogue-message")
# .with(
# headers: {
# "Accept" => "application/json",
# "Accept-Encoding" => "gzip;q=1.0,deflate;q=0.6,identity;q=0.3"
# }
# )
# .to_return(status: 200, body: global_message, headers: {})
end
end

0 comments on commit 582f76a

Please sign in to comment.