diff options
Diffstat (limited to 'spec/lib/gitlab/grape_logging/formatters')
-rw-r--r-- | spec/lib/gitlab/grape_logging/formatters/lograge_with_timestamp_spec.rb | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/spec/lib/gitlab/grape_logging/formatters/lograge_with_timestamp_spec.rb b/spec/lib/gitlab/grape_logging/formatters/lograge_with_timestamp_spec.rb index 5006d27c356..f14f0098a1f 100644 --- a/spec/lib/gitlab/grape_logging/formatters/lograge_with_timestamp_spec.rb +++ b/spec/lib/gitlab/grape_logging/formatters/lograge_with_timestamp_spec.rb @@ -43,10 +43,11 @@ RSpec.describe Gitlab::GrapeLogging::Formatters::LogrageWithTimestamp do it 're-formats the params hash' do params = result['params'] - expect(params).to eq([ - { 'key' => 'description', 'value' => '[FILTERED]' }, - { 'key' => 'name', 'value' => 'gitlab test' }, - { 'key' => 'int', 'value' => 42 } - ]) + expect(params).to eq( + [ + { 'key' => 'description', 'value' => '[FILTERED]' }, + { 'key' => 'name', 'value' => 'gitlab test' }, + { 'key' => 'int', 'value' => 42 } + ]) end end |