Skip to content

Commit

Permalink
fix failing unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
anshrupani committed Feb 16, 2024
1 parent 3cc59df commit 28f4ab3
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,9 @@
let(:http) { instance_double(Net::HTTP) }

before do
allow_any_instance_of(Net::HTTP).to receive(:ssl_options=)
allow(Net::HTTP).to receive(:new).and_return(http)
allow(http).to receive(:ssl_options=)
end

describe '#azure_stack_ca_cert' do
Expand Down

0 comments on commit 28f4ab3

Please sign in to comment.