Skip to content

Commit

Permalink
version change
Browse files Browse the repository at this point in the history
  • Loading branch information
yuvirani committed Feb 3, 2021
1 parent 2543a7c commit 1103038
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spec/spec_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
config.before(:each) do
# Mock appliance version and login api requests, as well as loading trusted certs

allow_any_instance_of(OneviewSDK::Client).to receive(:appliance_api_version).and_return(2400)
allow_any_instance_of(OneviewSDK::Client).to receive(:appliance_api_version).and_return(2600)
allow_any_instance_of(OneviewSDK::Client).to receive(:login).and_return('secretToken')
allow(OneviewSDK::SSLHelper).to receive(:load_trusted_certs).and_return(nil)

Expand All @@ -42,7 +42,7 @@
# General context for unit testing:
RSpec.shared_context 'shared context', a: :b do
before :each do
@ov_options = { url: 'https://oneview.example.com', user: 'Administrator', password: 'secret123', api_verison: 200 }
@ov_options = { url: 'https://oneview.example.com', user: 'Administrator', password: 'secret123', api_verison: 200, no_proxy: 'oneview.example.com' }
@client = OneviewSDK::Client.new(@ov_options)
@resource = OneviewSDK::Resource.new(@client)

Expand Down

0 comments on commit 1103038

Please sign in to comment.