diff options
author | Tim Smith <tsmith84@gmail.com> | 2020-07-07 15:28:50 -0700 |
---|---|---|
committer | Tim Smith <tsmith84@gmail.com> | 2020-07-07 15:28:50 -0700 |
commit | d7c4085d55a537d297f557c119fa6a9bd7e22690 (patch) | |
tree | facde7c91df602a4b9584472a09c2043036501b0 /chef-utils | |
parent | 3e9e6d41a31bd1ac932f7f4100102466b4fdfe05 (diff) | |
download | chef-d7c4085d55a537d297f557c119fa6a9bd7e22690.tar.gz |
Add spaces after attrs
This makes it easier to read the classes.
Signed-off-by: Tim Smith <tsmith@chef.io>
Diffstat (limited to 'chef-utils')
-rw-r--r-- | chef-utils/spec/unit/dsl/introspection_spec.rb | 1 | ||||
-rw-r--r-- | chef-utils/spec/unit/dsl/platform_spec.rb | 3 |
2 files changed, 4 insertions, 0 deletions
diff --git a/chef-utils/spec/unit/dsl/introspection_spec.rb b/chef-utils/spec/unit/dsl/introspection_spec.rb index 44a228061d..9275a9fc79 100644 --- a/chef-utils/spec/unit/dsl/introspection_spec.rb +++ b/chef-utils/spec/unit/dsl/introspection_spec.rb @@ -21,6 +21,7 @@ RSpec.describe ChefUtils::DSL::Introspection do class IntrospectionTestClass include ChefUtils::DSL::Introspection attr_accessor :node + def initialize(node) @node = node end diff --git a/chef-utils/spec/unit/dsl/platform_spec.rb b/chef-utils/spec/unit/dsl/platform_spec.rb index 69efae877c..93b61f0532 100644 --- a/chef-utils/spec/unit/dsl/platform_spec.rb +++ b/chef-utils/spec/unit/dsl/platform_spec.rb @@ -58,6 +58,7 @@ RSpec.describe ChefUtils::DSL::Platform do class ThingWithANode include ChefUtils::DSL::Platform attr_accessor :node + def initialize(node) @node = node end @@ -69,6 +70,7 @@ RSpec.describe ChefUtils::DSL::Platform do attr_accessor :node end attr_accessor :run_context + def initialize(node) @run_context = RunContext.new run_context.node = node @@ -78,6 +80,7 @@ RSpec.describe ChefUtils::DSL::Platform do class ThingWithTheDSL include ChefUtils attr_accessor :node + def initialize(node) @node = node end |