mirror of
https://github.com/samsonjs/grape_logging.git
synced 2026-03-25 08:55:47 +00:00
AutoFix RuboCop Lint/SymbolConversion
This commit is contained in:
parent
e5b6b00c47
commit
f3ce2561a2
2 changed files with 1 additions and 9 deletions
|
|
@ -41,14 +41,6 @@ Lint/MissingSuper:
|
|||
Exclude:
|
||||
- 'lib/grape_logging/loggers/filter_parameters.rb'
|
||||
|
||||
# Offense count: 3
|
||||
# This cop supports safe autocorrection (--autocorrect).
|
||||
# Configuration parameters: EnforcedStyle.
|
||||
# SupportedStyles: strict, consistent
|
||||
Lint/SymbolConversion:
|
||||
Exclude:
|
||||
- 'spec/lib/grape_logging/loggers/response_spec.rb'
|
||||
|
||||
# Offense count: 3
|
||||
# Configuration parameters: AllowedMethods, AllowedPatterns, CountRepeatedAttributes.
|
||||
Metrics/AbcSize:
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@ require 'ostruct'
|
|||
describe GrapeLogging::Loggers::Response do
|
||||
context 'with a parseable JSON body' do
|
||||
let(:response) do
|
||||
OpenStruct.new(body: [{ 'one': 'two', 'three': { 'four': 5 } }])
|
||||
OpenStruct.new(body: [{ one: 'two', three: { four: 5 } }])
|
||||
end
|
||||
|
||||
it 'returns an array of parsed JSON objects' do
|
||||
|
|
|
|||
Loading…
Reference in a new issue