summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorThom May <thom@may.lt>2018-01-22 10:32:21 +0000
committerGitHub <noreply@github.com>2018-01-22 10:32:21 +0000
commitf4a7600dfb9020ab818b609cdd4b278802bd7009 (patch)
tree47d629f9ebabd0a6024a0c94a656e1cd72b992b0 /spec
parentfe742b5ce5f35f16e186c3d2670d173548642b6c (diff)
parent2cd379b12eac02246ecc12b5e3cbb51069c9cedc (diff)
downloadchef-f4a7600dfb9020ab818b609cdd4b278802bd7009.tar.gz
Merge pull request #6718 from chef/chef14_deprecations
Remove previously deprecated mixins and Chef::DSL::Recipe::FullDSL
Diffstat (limited to 'spec')
-rw-r--r--spec/unit/dsl/recipe_spec.rb13
1 files changed, 0 insertions, 13 deletions
diff --git a/spec/unit/dsl/recipe_spec.rb b/spec/unit/dsl/recipe_spec.rb
index bc97ecc029..cd01079c15 100644
--- a/spec/unit/dsl/recipe_spec.rb
+++ b/spec/unit/dsl/recipe_spec.rb
@@ -24,11 +24,6 @@ class RecipeDSLExampleClass
include Chef::DSL::Recipe
end
-FullRecipeDSLExampleClass = Struct.new(:cookbook_name, :recipe_name)
-class FullRecipeDSLExampleClass
- include Chef::DSL::Recipe::FullDSL
-end
-
RecipeDSLBaseAPI = Struct.new(:cookbook_name, :recipe_name)
class RecipeDSLExampleSubclass < RecipeDSLBaseAPI
include Chef::DSL::Recipe
@@ -41,14 +36,6 @@ describe Chef::DSL::Recipe do
let(:cookbook_name) { "example_cb" }
let(:recipe_name) { "example_recipe" }
- it "tracks when it is included via FullDSL" do
- expect(Chef::DSL::Recipe::FullDSL.descendants).to include(FullRecipeDSLExampleClass)
- end
-
- it "doesn't track what is included via only the recipe DSL" do
- expect(Chef::DSL::Recipe::FullDSL.descendants).not_to include(RecipeDSLExampleClass)
- end
-
shared_examples_for "A Recipe DSL Implementation" do
it "responds to cookbook_name" do