From f1c16ee71ac1b7ce7afd4661a8b04301e6558a23 Mon Sep 17 00:00:00 2001 From: sersut Date: Tue, 1 Jul 2014 13:03:25 -0700 Subject: Revert the provider indirection logic while keeping the timeout functionality to fix resource notifications and ChefSpec stubs. --- spec/unit/resource/apt_package_spec.rb | 8 -------- 1 file changed, 8 deletions(-) (limited to 'spec/unit/resource/apt_package_spec.rb') diff --git a/spec/unit/resource/apt_package_spec.rb b/spec/unit/resource/apt_package_spec.rb index 81df04c59f..58b007c327 100644 --- a/spec/unit/resource/apt_package_spec.rb +++ b/spec/unit/resource/apt_package_spec.rb @@ -40,12 +40,4 @@ describe Chef::Resource::AptPackage, "initialize" do @resource.default_release("lenny-backports") @resource.default_release.should eql("lenny-backports") end - - # String, Integer - [ "600", 600 ].each do |val| - it "supports setting a timeout as a #{val.class}" do - @resource.timeout(val) - expect(@resource.timeout).to eql(val) - end - end end -- cgit v1.2.1