summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJay Mundrawala <jdmundrawala@gmail.com>2014-12-12 21:26:57 -0800
committerJay Mundrawala <jdmundrawala@gmail.com>2014-12-14 09:29:23 -0800
commita0c7548274334beeeab4bce6e37e176e232d267e (patch)
treef140fc803321bad9b9237415aebfe5095d73df9e
parent6c1e357dc5e2e9610a6922b5e53c414b5fcb22c5 (diff)
downloadchef-a0c7548274334beeeab4bce6e37e176e232d267e.tar.gz
Use extend instead of opening class and including
-rw-r--r--spec/support/platform_helpers.rb4
1 files changed, 1 insertions, 3 deletions
diff --git a/spec/support/platform_helpers.rb b/spec/support/platform_helpers.rb
index fa61a52129..959580c953 100644
--- a/spec/support/platform_helpers.rb
+++ b/spec/support/platform_helpers.rb
@@ -3,9 +3,7 @@ require 'chef/mixin/shell_out'
class ShellHelpers
- class << self
- include Chef::Mixin::ShellOut
- end
+ extend Chef::Mixin::ShellOut
end
def ruby_gte_20?