summaryrefslogtreecommitdiff
path: root/spec/unit/dsl/recipe_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/unit/dsl/recipe_spec.rb')
-rw-r--r--spec/unit/dsl/recipe_spec.rb12
1 files changed, 12 insertions, 0 deletions
diff --git a/spec/unit/dsl/recipe_spec.rb b/spec/unit/dsl/recipe_spec.rb
index 14ee30be44..dfaad0b73e 100644
--- a/spec/unit/dsl/recipe_spec.rb
+++ b/spec/unit/dsl/recipe_spec.rb
@@ -46,6 +46,18 @@ describe Chef::DSL::Recipe do
it "responds to recipe_name" do
expect(recipe.recipe_name).to eq(recipe_name)
end
+
+ it "responds to shell_out" do
+ expect(recipe.respond_to?(:shell_out)).to be true
+ end
+
+ it "responds to shell_out" do
+ expect(recipe.respond_to?(:shell_out!)).to be true
+ end
+
+ it "responds to shell_out" do
+ expect(recipe.respond_to?(:shell_out_with_systems_locale)).to be true
+ end
end
context "when included in a class that defines the required interface directly" do