diff options
author | Claire McQuin <claire@getchef.com> | 2014-06-10 19:49:46 -0700 |
---|---|---|
committer | Claire McQuin <claire@getchef.com> | 2014-06-11 08:48:52 -0700 |
commit | 4066c594373572ab5cee63426916a79a007f6896 (patch) | |
tree | 9a4d39e2059b7fa13cc446af9926fb29388af4af | |
parent | 23e5b59e4e36b044a2bea289efc97e00e6d1ddff (diff) | |
download | chef-apt-package-spec-fix.tar.gz |
fix test expectationsapt-package-spec-fix
-rw-r--r-- | spec/unit/provider/package/apt_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/unit/provider/package/apt_spec.rb b/spec/unit/provider/package/apt_spec.rb index 245cd3aff8..4ff44b35ad 100644 --- a/spec/unit/provider/package/apt_spec.rb +++ b/spec/unit/provider/package/apt_spec.rb @@ -194,7 +194,7 @@ SHOWPKG_STDOUT it "raises an exception if a source is specified (CHEF-5113)" do @new_resource.source "pluto" @provider.define_resource_requirements - @provider.should_receive(:shell_out!).with("apt-cache policy irssi", {:timeout=>900}).and_return(@shell_out) + @provider.should_receive(:shell_out!).with("apt-cache policy irssi", {:timeout=>@timeout}).and_return(@shell_out) expect { @provider.run_action(:install) }.to raise_error(Chef::Exceptions::Package) end end |