summaryrefslogtreecommitdiff
path: root/spec/unit/audit/logger_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/unit/audit/logger_spec.rb')
-rw-r--r--spec/unit/audit/logger_spec.rb8
1 files changed, 4 insertions, 4 deletions
diff --git a/spec/unit/audit/logger_spec.rb b/spec/unit/audit/logger_spec.rb
index 9dd9ce2cd9..1091ed936b 100644
--- a/spec/unit/audit/logger_spec.rb
+++ b/spec/unit/audit/logger_spec.rb
@@ -15,7 +15,7 @@
# limitations under the License.
#
-require 'spec_helper'
+require "spec_helper"
describe Chef::Audit::Logger do
@@ -23,19 +23,19 @@ describe Chef::Audit::Logger do
Chef::Audit::Logger.instance_variable_set(:@buffer, nil)
end
- it 'calling puts creates @buffer and adds the message' do
+ it "calling puts creates @buffer and adds the message" do
Chef::Audit::Logger.puts("Output message")
expect(Chef::Audit::Logger.read_buffer).to eq("Output message\n")
end
- it 'calling puts multiple times adds to the message' do
+ it "calling puts multiple times adds to the message" do
Chef::Audit::Logger.puts("Output message")
Chef::Audit::Logger.puts("Output message")
Chef::Audit::Logger.puts("Output message")
expect(Chef::Audit::Logger.read_buffer).to eq("Output message\nOutput message\nOutput message\n")
end
- it 'calling it before @buffer is set returns an empty string' do
+ it "calling it before @buffer is set returns an empty string" do
expect(Chef::Audit::Logger.read_buffer).to eq("")
end