summaryrefslogtreecommitdiff
path: root/spec/unit/provider
diff options
context:
space:
mode:
authorLamont Granquist <lamont@scriptkiddie.org>2016-01-15 10:27:12 -0800
committerLamont Granquist <lamont@scriptkiddie.org>2016-01-15 10:27:12 -0800
commited9098eda1c9362b5e3f1d0664843c8ceedbafce (patch)
tree5f94564fb3e2f8181ff7791e5607d4e827eff673 /spec/unit/provider
parentc0e4c98ed9630edda0d2285897a7dc6af57e26b7 (diff)
downloadchef-ed9098eda1c9362b5e3f1d0664843c8ceedbafce.tar.gz
fix chefstyle failures
autocorrects some merges that will be broken when the next chefstyle is released. also runs chefstyle after the travis tests, because i'd rather know how the code is broken rather than how its not pretty.
Diffstat (limited to 'spec/unit/provider')
-rw-r--r--spec/unit/provider/package/chocolatey_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/unit/provider/package/chocolatey_spec.rb b/spec/unit/provider/package/chocolatey_spec.rb
index f8df129c6e..1770869ccd 100644
--- a/spec/unit/provider/package/chocolatey_spec.rb
+++ b/spec/unit/provider/package/chocolatey_spec.rb
@@ -76,13 +76,13 @@ munin-node|1.6.1.20130823
it "should set the candidate_version to pinned version if available" do
allow_remote_list(["git"])
- new_resource.version('2.6.1')
+ new_resource.version("2.6.1")
expect(provider.candidate_version).to eql(["2.6.1"])
end
it "should set the candidate_version to nill if pinning to bogus version" do
allow_remote_list(["git"])
- new_resource.version('2.5.0')
+ new_resource.version("2.5.0")
expect(provider.candidate_version).to eql([nil])
end