spec/unit/loga/formatters/simple_formatter_spec.rb in loga-2.1.2 vs spec/unit/loga/formatters/simple_formatter_spec.rb in loga-2.2.0
- old
+ new
@@ -52,11 +52,11 @@
expect(subject).to eq("I, #{time_pid} Hello World type=request\n")
end
end
context 'when the Event has an exception' do
- let(:backtrace) { %w(a b) }
+ let(:backtrace) { %w[a b] }
let(:exception) do
StandardError.new('Foo Error').tap { |e| e.set_backtrace backtrace }
end
let(:options) { { exception: exception } }
@@ -95,10 +95,10 @@
end
end
end
context 'when tags are available' do
- let(:tags) { %w(USER_54321 EmailWorker) }
+ let(:tags) { %w[USER_54321 EmailWorker] }
before do
allow_any_instance_of(described_class).to receive(:current_tags).and_return(tags)
end