diff options
author | Lamont Granquist <lamont@scriptkiddie.org> | 2016-08-19 10:22:27 -0700 |
---|---|---|
committer | Lamont Granquist <lamont@scriptkiddie.org> | 2016-08-19 10:22:27 -0700 |
commit | 268ddc165d73075c9d9e943b53edbd3d74bb3bf7 (patch) | |
tree | 342ad2838c4b7d6b50eb853e6a66958f62ff9cde /spec | |
parent | a95fc372c19c0e38019202045d7db08ab51e8f16 (diff) | |
download | ohai-268ddc165d73075c9d9e943b53edbd3d74bb3bf7.tar.gz |
not fixing Lint/NestedMethodDefinition
there's some voodoo going on here i don't want to figure out how to
unwind
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
Diffstat (limited to 'spec')
-rw-r--r-- | spec/support/integration_helper.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/spec/support/integration_helper.rb b/spec/support/integration_helper.rb index 6391b34f..38554e40 100644 --- a/spec/support/integration_helper.rb +++ b/spec/support/integration_helper.rb @@ -18,7 +18,7 @@ module IntegrationSupport end end - def with_plugin(plugin_path, contents) # + def with_plugin(plugin_path, contents) # rubocop:disable Lint/NestedMethodDefinition filename = path_to(plugin_path) dir = File.dirname(filename) FileUtils.mkdir_p(dir) unless dir == "." @@ -27,11 +27,11 @@ module IntegrationSupport end end - def path_to(plugin_path) + def path_to(plugin_path) # rubocop:disable Lint/NestedMethodDefinition File.expand_path(plugin_path, @plugins_directory) end - def self.with_plugin(plugin_path, contents) + def self.with_plugin(plugin_path, contents) # rubocop:disable Lint/NestedMethodDefinition before :each do with_plugin(plugin_path, contents) end |