diff options
author | Lamont Granquist <lamont@scriptkiddie.org> | 2015-02-03 16:30:03 -0800 |
---|---|---|
committer | Lamont Granquist <lamont@scriptkiddie.org> | 2015-02-03 16:30:03 -0800 |
commit | 0eb701a51896c53022c748200c905d3d8232e0a3 (patch) | |
tree | ce51ca311cfab28495732fdfb7d990d7905cf19e | |
parent | 894cb01a38232b9006773dc27e053c9bbb4b5038 (diff) | |
download | chef-lcg/2692.tar.gz |
fix rubygems speclcg/2692
-rw-r--r-- | spec/unit/provider/package/rubygems_spec.rb | 2 |
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 |