summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorNoah Kantrowitz <noah@coderanger.net>2018-05-31 10:07:38 -0700
committerNoah Kantrowitz <noah@coderanger.net>2018-05-31 10:07:38 -0700
commita481d49a173740f170c44e19c267d98a3e93a0bc (patch)
tree69d15beed08468c014be9d312277fddfbc6128ba /spec
parente90e61c6adb76156cbeef474c9810ea258871cf8 (diff)
downloadchef-a481d49a173740f170c44e19c267d98a3e93a0bc.tar.gz
Feed the Rubocop.
Signed-off-by: Noah Kantrowitz <noah@coderanger.net>
Diffstat (limited to 'spec')
-rw-r--r--spec/unit/http/authenticator_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/unit/http/authenticator_spec.rb b/spec/unit/http/authenticator_spec.rb
index 87f2a906b6..548fc0158c 100644
--- a/spec/unit/http/authenticator_spec.rb
+++ b/spec/unit/http/authenticator_spec.rb
@@ -20,7 +20,7 @@ require "spec_helper"
require "chef/http/authenticator"
describe Chef::HTTP::Authenticator do
- let(:class_instance) { Chef::HTTP::Authenticator.new(client_name: 'test') }
+ let(:class_instance) { Chef::HTTP::Authenticator.new(client_name: "test") }
let(:method) { "GET" }
let(:url) { URI("https://chef.example.com/organizations/test") }
let(:headers) { Hash.new }
@@ -110,7 +110,7 @@ YwIDAQAB
-----END PUBLIC KEY-----
EOH
- let(:class_instance) { Chef::HTTP::Authenticator.new(client_name: 'test', raw_key: public_key, ssh_agent_signing: true) }
+ let(:class_instance) { Chef::HTTP::Authenticator.new(client_name: "test", raw_key: public_key, ssh_agent_signing: true) }
it "sets use_ssh_agent if needed" do
expect(Mixlib::Authentication::SignedHeaderAuth).to receive(:signing_object).and_wrap_original { |m, *args|