summaryrefslogtreecommitdiff
path: root/spec/integration/recipes
diff options
context:
space:
mode:
authorLamont Granquist <lamont@scriptkiddie.org>2019-07-02 15:59:11 -0700
committerLamont Granquist <lamont@scriptkiddie.org>2019-07-02 15:59:11 -0700
commit1909f56148ce8f56777234d651dde1824f1017b0 (patch)
treee038fadca8a28a0dbf2ee6a06b56f602e6d09758 /spec/integration/recipes
parentf50ffe2b1b3b0afc7aa2b01a9356e439f78a5fcd (diff)
downloadchef-1909f56148ce8f56777234d651dde1824f1017b0.tar.gz
Style/EmptyMethod
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
Diffstat (limited to 'spec/integration/recipes')
-rw-r--r--spec/integration/recipes/provider_choice.rb3
-rw-r--r--spec/integration/recipes/recipe_dsl_spec.rb3
2 files changed, 2 insertions, 4 deletions
diff --git a/spec/integration/recipes/provider_choice.rb b/spec/integration/recipes/provider_choice.rb
index 1895d93891..dea58230db 100644
--- a/spec/integration/recipes/provider_choice.rb
+++ b/spec/integration/recipes/provider_choice.rb
@@ -16,8 +16,7 @@ describe "Recipe DSL methods" do
context "And class Chef::Provider::ProviderThingy with no provides" do
before :context do
class Chef::Provider::ProviderThingy < Chef::Provider
- def load_current_resource
- end
+ def load_current_resource; end
def action_create
Chef::Log.warn("hello from #{self.class.name}")
diff --git a/spec/integration/recipes/recipe_dsl_spec.rb b/spec/integration/recipes/recipe_dsl_spec.rb
index 6c0cc305f9..29ac41fdce 100644
--- a/spec/integration/recipes/recipe_dsl_spec.rb
+++ b/spec/integration/recipes/recipe_dsl_spec.rb
@@ -28,8 +28,7 @@ describe "Recipe DSL methods" do
Provider
end
class Provider < Chef::Provider
- def load_current_resource
- end
+ def load_current_resource; end
def action_create
BaseThingy.created_name = new_resource.name