From 3eebfe4b433761b079fad0c543c1a93b555f546b Mon Sep 17 00:00:00 2001 From: John Keiser Date: Thu, 30 Apr 2015 17:01:36 -0700 Subject: Remove provides_nothing --- spec/integration/recipes/recipe_dsl_spec.rb | 16 ---------------- 1 file changed, 16 deletions(-) (limited to 'spec/integration') diff --git a/spec/integration/recipes/recipe_dsl_spec.rb b/spec/integration/recipes/recipe_dsl_spec.rb index 0b4ea80112..99b32eb3f1 100644 --- a/spec/integration/recipes/recipe_dsl_spec.rb +++ b/spec/integration/recipes/recipe_dsl_spec.rb @@ -208,22 +208,6 @@ describe "Recipe DSL methods" do end end - context "When Thingy6 uses provides_nothing" do - before(:context) { - - class Foo::Thingy6 < Chef::Resource - provides_nothing - end - - } - - it "thingy6 does not work in a recipe" do - expect_converge { - thingy6 'blah' do; end - }.to raise_error(NoMethodError) - end - end - context "With platform-specific resources 'my_super_thingy_foo' and 'my_super_thingy_bar'" do before(:context) { class MySuperThingyFoo < BaseThingy -- cgit v1.2.1