summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorGordon Malm <gmalm+github-chef-chef-2018@engineyard.com>2018-03-21 23:47:48 +0000
committerGordon Malm <gmalm+github-chef-chef-2018@engineyard.com>2018-03-21 23:47:48 +0000
commit8574e5de3642313cc0da098c5cd328fe4a3e22bd (patch)
treef6820345b5710b1112d2a780680525e80c68b7fb /spec
parent802c10c9f897c12c182789e9bfddacf2a3e538cd (diff)
downloadchef-8574e5de3642313cc0da098c5cd328fe4a3e22bd.tar.gz
Fix style issues reported by travis-ci.
Signed-off-by: Gordon Malm <gmalm+github-chef-chef-2018@engineyard.com>
Diffstat (limited to 'spec')
-rw-r--r--spec/unit/provider/package/portage_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/unit/provider/package/portage_spec.rb b/spec/unit/provider/package/portage_spec.rb
index 0d214c2257..40dc44b113 100644
--- a/spec/unit/provider/package/portage_spec.rb
+++ b/spec/unit/provider/package/portage_spec.rb
@@ -113,7 +113,7 @@ describe Chef::Provider::Package::Portage, "load_current_resource" do
end
it "should throw an exception if the exitstatus is not 0" do
- status = double(:stdout => "", :stderr =>"", :exitstatus => 1)
+ status = double(:stdout => "", :stderr => "", :exitstatus => 1)
allow(@provider).to receive(:shell_out).and_return(status)
expect { @provider.candidate_version }.to raise_error(Chef::Exceptions::Package)
end