diff options
Diffstat (limited to 'spec/lib/gitlab/grape_logging')
-rw-r--r-- | spec/lib/gitlab/grape_logging/formatters/lograge_with_timestamp_spec.rb | 6 |
1 files changed, 4 insertions, 2 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 91299de0751..487b19a98e0 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 @@ -15,7 +15,8 @@ RSpec.describe Gitlab::GrapeLogging::Formatters::LogrageWithTimestamp do path: '/api/v4/projects/1', params: { 'description': '[FILTERED]', - 'name': 'gitlab test' + 'name': 'gitlab test', + 'int': 42 }, host: 'localhost', remote_ip: '127.0.0.1', @@ -44,7 +45,8 @@ RSpec.describe Gitlab::GrapeLogging::Formatters::LogrageWithTimestamp do expect(params).to eq([ { 'key' => 'description', 'value' => '[FILTERED]' }, - { 'key' => 'name', 'value' => 'gitlab test' } + { 'key' => 'name', 'value' => 'gitlab test' }, + { 'key' => 'int', 'value' => 42 } ]) end end |