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:
|
||||
Exclude:
|
||||
- "lib/tasks/**/*"
|
||||
Include:
|
||||
- "**/*_spec.rb"
|
||||
|
||||
# RSpec tests
|
||||
Style/NumericPredicate:
|
||||
|
|
|
@ -46,7 +46,6 @@ RSpec.describe ::Sequencer::Sequence::Import::Freshdesk::TicketField, sequencer:
|
|||
end
|
||||
|
||||
it 'adds a custom field' do
|
||||
p resource
|
||||
expect { process(process_payload) }.to change(Ticket, :column_names).by(['cf_custom_dropdown'])
|
||||
end
|
||||
end
|
||||
|
|
|
@ -630,9 +630,8 @@ RSpec.describe 'Monitoring', type: :request do
|
|||
|
||||
# add another job
|
||||
dummy_class = Class.new(ApplicationJob) do
|
||||
|
||||
def perform
|
||||
puts 'work work'
|
||||
true
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue