mirror of
https://github.com/samsonjs/grape_logging.git
synced 2026-04-27 14:57:40 +00:00
AutoFix RuboCop Style/QuotedSymbols
This commit is contained in:
parent
3a71be798e
commit
6f0ffc2fda
2 changed files with 1 additions and 9 deletions
|
|
@ -216,14 +216,6 @@ Style/PercentLiteralDelimiters:
|
||||||
- 'grape_logging.gemspec'
|
- 'grape_logging.gemspec'
|
||||||
- 'lib/grape_logging/loggers/filter_parameters.rb'
|
- 'lib/grape_logging/loggers/filter_parameters.rb'
|
||||||
|
|
||||||
# Offense count: 3
|
|
||||||
# This cop supports safe autocorrection (--autocorrect).
|
|
||||||
# Configuration parameters: EnforcedStyle.
|
|
||||||
# SupportedStyles: same_as_string_literals, single_quotes, double_quotes
|
|
||||||
Style/QuotedSymbols:
|
|
||||||
Exclude:
|
|
||||||
- 'spec/lib/grape_logging/loggers/response_spec.rb'
|
|
||||||
|
|
||||||
# Offense count: 3
|
# Offense count: 3
|
||||||
# This cop supports unsafe autocorrection (--autocorrect-all).
|
# This cop supports unsafe autocorrection (--autocorrect-all).
|
||||||
# Configuration parameters: ConvertCodeThatCanStartToReturnNil, AllowedMethods, MaxChainLength.
|
# Configuration parameters: ConvertCodeThatCanStartToReturnNil, AllowedMethods, MaxChainLength.
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,7 @@ require 'ostruct'
|
||||||
describe GrapeLogging::Loggers::Response do
|
describe GrapeLogging::Loggers::Response do
|
||||||
context 'with a parseable JSON body' do
|
context 'with a parseable JSON body' do
|
||||||
let(:response) do
|
let(:response) do
|
||||||
OpenStruct.new(body: [{ "one": 'two', "three": { "four": 5 } }])
|
OpenStruct.new(body: [{ 'one': 'two', 'three': { 'four': 5 } }])
|
||||||
end
|
end
|
||||||
|
|
||||||
it 'returns an array of parsed JSON objects' do
|
it 'returns an array of parsed JSON objects' do
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue