diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index 4a17232..7c68852 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -18,6 +18,7 @@ # elasticsearch-dsl warnings are killing me - solnic config.warnings = false + # rubocop:disable Lint/ConstantDefinitionInBlock config.before do module Test end @@ -26,4 +27,5 @@ module Test config.after do Object.send(:remove_const, :Test) end + # rubocop:enable Lint/ConstantDefinitionInBlock end