summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLamont Granquist <lamont@scriptkiddie.org>2015-02-03 16:30:03 -0800
committerLamont Granquist <lamont@scriptkiddie.org>2015-02-03 16:30:03 -0800
commit0eb701a51896c53022c748200c905d3d8232e0a3 (patch)
treece51ca311cfab28495732fdfb7d990d7905cf19e
parent894cb01a38232b9006773dc27e053c9bbb4b5038 (diff)
downloadchef-lcg/2692.tar.gz
fix rubygems speclcg/2692
-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 8286ecf1b8..dcee3af576 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 \"3.1.7\" -i /alt/install/location"
+ expected ="gem install rspec-core -q --no-rdoc --no-ri -v \"#{@spec_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