Skip to content

Commit

Permalink
Quality fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
tacchino committed Feb 7, 2016
1 parent 2b65e37 commit 45648e0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions .cane
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,6 @@
--abc-exclude Kitchen::ThorTasks#define
--abc-exclude Kitchen::Driver::SSHBase#converge
--abc-exclude Kitchen::Driver::SSHBase#verify
--abc-exclude Kitchen::Configurable#wrap_shell_code
--style-exclude lib/vendor/**/*.rb
--doc-exclude lib/vendor/**/.rb
6 changes: 3 additions & 3 deletions spec/kitchen/configurable_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -834,7 +834,7 @@ class SubclassDefaults < StaticDefaults
end

it "does not export http_proxy or HTTP_PROXY when :http_proxy is empty" do
config[:http_proxy] = ''
config[:http_proxy] = ""

cmd.must_equal(outdent!(<<-CODE.chomp))
sh -c '
Expand All @@ -845,7 +845,7 @@ class SubclassDefaults < StaticDefaults
end

it "does not export https_proxy or HTTPS_PROXY when :https_proxy is empty" do
config[:https_proxy] = ''
config[:https_proxy] = ""

cmd.must_equal(outdent!(<<-CODE.chomp))
sh -c '
Expand All @@ -869,7 +869,7 @@ class SubclassDefaults < StaticDefaults
end

it "does not export ftp_proxy or FTP_PROXY when :ftp_proxy is empty" do
config[:ftp_proxy] = ''
config[:ftp_proxy] = ""

cmd.must_equal(outdent!(<<-CODE.chomp))
sh -c '
Expand Down

0 comments on commit 45648e0

Please sign in to comment.