Maintenance: Enable rubocop policy 'Rails/Output' also for specs.

This commit is contained in:
Dominik Klein 2021-08-12 21:22:12 +02:00
parent c89ed949de
commit 36be0a1d0c
3 changed files with 3 additions and 3 deletions

View file

@ -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:

View file

@ -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

View file

@ -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