diff options
author | Nathan Huff <nrhuff@umn.edu> | 2014-07-30 15:01:55 -0500 |
---|---|---|
committer | Bryan McLellan <btm@getchef.com> | 2014-08-18 08:12:56 -0700 |
commit | 510a1ceaa1df668a890eb70b7972d29eb89409b2 (patch) | |
tree | 3604996030971c7d3e3c16c6de2cc57acf87cc54 /spec | |
parent | 8467c750a56e728511f356049e15d1389e55870a (diff) | |
download | chef-510a1ceaa1df668a890eb70b7972d29eb89409b2.tar.gz |
Fix a typo and remove a couple unused variables
Diffstat (limited to 'spec')
-rw-r--r-- | spec/unit/provider/package/ips_spec.rb | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/spec/unit/provider/package/ips_spec.rb b/spec/unit/provider/package/ips_spec.rb index d5abfedf15..6a70deede5 100644 --- a/spec/unit/provider/package/ips_spec.rb +++ b/spec/unit/provider/package/ips_spec.rb @@ -30,9 +30,6 @@ describe Chef::Provider::Package::Ips do @current_resource = Chef::Resource::Package.new("crypto/gnupg", @run_context) Chef::Resource::Package.stub(:new).and_return(@current_resource) @provider = Chef::Provider::Package::Ips.new(@new_resource, @run_context) - - @local = local_output - @remote = remote_output end def local_output @@ -117,7 +114,7 @@ INSTALLED @current_resource.version.should == "2.0.17" end - it "should return the current resouce" do + it "should return the current resource" do @provider.should_receive(:shell_out!).with("pkg info #{@new_resource.package_name}").and_return(local_output) @provider.should_receive(:shell_out!).with("pkg info -r #{@new_resource.package_name}").and_return(remote_output) @provider.load_current_resource.should eql(@current_resource) |