summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhil Dibowitz <phil@ipom.com>2015-02-04 11:05:27 -0800
committerPhil Dibowitz <phil@ipom.com>2015-02-04 11:05:27 -0800
commit4805025146896c537f3110aeceb1fba852897f8c (patch)
treec4dc9c1619a0579e6ed6c8b48d35676995a3245d
parent18f031216df58311a660fec24dd207ab934415a6 (diff)
downloadchef-4805025146896c537f3110aeceb1fba852897f8c.tar.gz
Try to fix spec again
-rw-r--r--spec/unit/provider/package/rubygems_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/unit/provider/package/rubygems_spec.rb b/spec/unit/provider/package/rubygems_spec.rb
index dcee3af576..b17c216ddd 100644
--- a/spec/unit/provider/package/rubygems_spec.rb
+++ b/spec/unit/provider/package/rubygems_spec.rb
@@ -552,7 +552,7 @@ describe Chef::Provider::Package::Rubygems do
it "installs the gem by shelling out when options are provided but no version is given" do
@new_resource.options('-i /alt/install/location')
- expected ="gem install rspec-core -q --no-rdoc --no-ri -v \"#{@spec_version}\" -i /alt/install/location"
+ expected ="gem install rspec-core -q --no-rdoc --no-ri -v \"#{@provider.candidate_version}\" -i /alt/install/location"
expect(@provider).to receive(:shell_out!).with(expected, :env => nil)
@provider.run_action(:install)
expect(@new_resource).to be_updated_by_last_action