Maintenance: Enable rubocop policy 'Rails/Output' also for specs.
This commit is contained in:
parent
c89ed949de
commit
36be0a1d0c
3 changed files with 3 additions and 3 deletions
|
@ -252,6 +252,8 @@ Rails/EnvironmentVariableAccess:
|
||||||
Rails/Output:
|
Rails/Output:
|
||||||
Exclude:
|
Exclude:
|
||||||
- "lib/tasks/**/*"
|
- "lib/tasks/**/*"
|
||||||
|
Include:
|
||||||
|
- "**/*_spec.rb"
|
||||||
|
|
||||||
# RSpec tests
|
# RSpec tests
|
||||||
Style/NumericPredicate:
|
Style/NumericPredicate:
|
||||||
|
|
|
@ -46,7 +46,6 @@ RSpec.describe ::Sequencer::Sequence::Import::Freshdesk::TicketField, sequencer:
|
||||||
end
|
end
|
||||||
|
|
||||||
it 'adds a custom field' do
|
it 'adds a custom field' do
|
||||||
p resource
|
|
||||||
expect { process(process_payload) }.to change(Ticket, :column_names).by(['cf_custom_dropdown'])
|
expect { process(process_payload) }.to change(Ticket, :column_names).by(['cf_custom_dropdown'])
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
|
@ -630,9 +630,8 @@ RSpec.describe 'Monitoring', type: :request do
|
||||||
|
|
||||||
# add another job
|
# add another job
|
||||||
dummy_class = Class.new(ApplicationJob) do
|
dummy_class = Class.new(ApplicationJob) do
|
||||||
|
|
||||||
def perform
|
def perform
|
||||||
puts 'work work'
|
true
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue