diff options
Diffstat (limited to 'spec/unit/http/authenticator_spec.rb')
-rw-r--r-- | spec/unit/http/authenticator_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/unit/http/authenticator_spec.rb b/spec/unit/http/authenticator_spec.rb index 548fc0158c..c50a2c0481 100644 --- a/spec/unit/http/authenticator_spec.rb +++ b/spec/unit/http/authenticator_spec.rb @@ -59,7 +59,7 @@ describe Chef::HTTP::Authenticator do end context "when api_version is set to something other than the default" do - let(:class_instance) { Chef::HTTP::Authenticator.new({ :api_version => "-10" }) } + let(:class_instance) { Chef::HTTP::Authenticator.new({ api_version: "-10" }) } it "merges the requested version of X-Ops-Server-API-Version into the headers" do expect(class_instance.handle_request(method, url, headers, data)[2]). |