summaryrefslogtreecommitdiff
path: root/spec/unit/event_dispatch
diff options
context:
space:
mode:
authorTim Smith <tsmith84@gmail.com>2020-07-07 15:28:50 -0700
committerTim Smith <tsmith84@gmail.com>2020-07-07 15:28:50 -0700
commitd7c4085d55a537d297f557c119fa6a9bd7e22690 (patch)
treefacde7c91df602a4b9584472a09c2043036501b0 /spec/unit/event_dispatch
parent3e9e6d41a31bd1ac932f7f4100102466b4fdfe05 (diff)
downloadchef-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 'spec/unit/event_dispatch')
-rw-r--r--spec/unit/event_dispatch/dispatcher_spec.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/spec/unit/event_dispatch/dispatcher_spec.rb b/spec/unit/event_dispatch/dispatcher_spec.rb
index 8499ba13b9..7942e8eb6b 100644
--- a/spec/unit/event_dispatch/dispatcher_spec.rb
+++ b/spec/unit/event_dispatch/dispatcher_spec.rb
@@ -61,6 +61,7 @@ describe Chef::EventDispatch::Dispatcher do
let(:event_sink) do
Class.new(Chef::EventDispatch::Base) do
attr_reader :synchronized_cookbook_args
+
def synchronized_cookbook(cookbook_name)
@synchronized_cookbook_args = [cookbook_name]
end
@@ -79,6 +80,7 @@ describe Chef::EventDispatch::Dispatcher do
let(:event_sink_1) do
Class.new(Chef::EventDispatch::Base) do
attr_reader :synchronized_cookbook_args
+
def synchronized_cookbook(cookbook_name)
@synchronized_cookbook_args = [cookbook_name]
end
@@ -87,6 +89,7 @@ describe Chef::EventDispatch::Dispatcher do
let(:event_sink_2) do
Class.new(Chef::EventDispatch::Base) do
attr_reader :synchronized_cookbook_args
+
def synchronized_cookbook(cookbook_name, cookbook)
@synchronized_cookbook_args = [cookbook_name, cookbook]
end