From 4066c594373572ab5cee63426916a79a007f6896 Mon Sep 17 00:00:00 2001 From: Claire McQuin Date: Tue, 10 Jun 2014 19:49:46 -0700 Subject: fix test expectations --- spec/unit/provider/package/apt_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.1