diff --git a/.rubocop/default.yml b/.rubocop/default.yml index 9b5874d37..7273db0c4 100644 --- a/.rubocop/default.yml +++ b/.rubocop/default.yml @@ -252,6 +252,8 @@ Rails/EnvironmentVariableAccess: Rails/Output: Exclude: - "lib/tasks/**/*" + Include: + - "**/*_spec.rb" # RSpec tests Style/NumericPredicate: diff --git a/spec/lib/sequencer/sequence/import/freshdesk/ticket_field_spec.rb b/spec/lib/sequencer/sequence/import/freshdesk/ticket_field_spec.rb index 012977b88..a49689633 100644 --- a/spec/lib/sequencer/sequence/import/freshdesk/ticket_field_spec.rb +++ b/spec/lib/sequencer/sequence/import/freshdesk/ticket_field_spec.rb @@ -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 diff --git a/spec/requests/integration/monitoring_spec.rb b/spec/requests/integration/monitoring_spec.rb index 989b257d8..b22708214 100644 --- a/spec/requests/integration/monitoring_spec.rb +++ b/spec/requests/integration/monitoring_spec.rb @@ -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