diff options
author | John Keiser <john@johnkeiser.com> | 2015-04-18 15:23:44 -0700 |
---|---|---|
committer | John Keiser <john@johnkeiser.com> | 2015-05-13 13:42:32 -0700 |
commit | a6d5241a96a7882166af849f529b2a2b8bab5ab4 (patch) | |
tree | f4a7c3735db3698d0712536d8cc58d5166ce0173 /spec/unit/recipe_spec.rb | |
parent | c46776d45cd5a732441a4dc0bf0552e71bb500ee (diff) | |
download | chef-a6d5241a96a7882166af849f529b2a2b8bab5ab4.tar.gz |
Deprecate automatic method_missing and Chef::Resource lookup
- Declare all resource DSL as methods on Chef::DSL::Resources
- Declare all definition DSL as methods on Chef::DSL::Definitions
Diffstat (limited to 'spec/unit/recipe_spec.rb')
-rw-r--r-- | spec/unit/recipe_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/unit/recipe_spec.rb b/spec/unit/recipe_spec.rb index 7442f4477e..9c4fb49497 100644 --- a/spec/unit/recipe_spec.rb +++ b/spec/unit/recipe_spec.rb @@ -83,7 +83,7 @@ describe Chef::Recipe do it "should require a name argument" do expect { recipe.cat - }.to raise_error(ArgumentError, "You must supply a name when declaring a cat resource") + }.to raise_error(ArgumentError) end it "should allow regular errors (not NameErrors) to pass unchanged" do |