diff options
author | Lamont Granquist <lamont@scriptkiddie.org> | 2015-02-03 16:30:03 -0800 |
---|---|---|
committer | Phil Dibowitz <phil@ipom.com> | 2015-02-03 19:32:37 -0800 |
commit | 18f031216df58311a660fec24dd207ab934415a6 (patch) | |
tree | 780e82bfcf6e741887b7e93b87ab39209631f4bd | |
parent | 5c7ddc4b0fe9ea654bae5fee121c4eedf127bed7 (diff) | |
download | chef-18f031216df58311a660fec24dd207ab934415a6.tar.gz |
fix rubygems spec
-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 |