Skip to content

Commit

Permalink
Merge pull request #355 from koic/suppress_rubocop_offense
Browse files Browse the repository at this point in the history
Suppress RuboCop's offense
  • Loading branch information
koic committed Sep 13, 2020
2 parents c2d3ade + c9af0b5 commit 13a0fbe
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions spec/rubocop/cop/active_record_helper_spec.rb
Expand Up @@ -3,16 +3,8 @@
RSpec.describe RuboCop::Cop::ActiveRecordHelper, :isolated_environment do
include FileHelper

module RuboCop
module Cop
class Example < Cop
include ActiveRecordHelper
end
end
end

let(:cop) do
RuboCop::Cop::Example.new
Class.new.extend RuboCop::Cop::ActiveRecordHelper
end

let(:schema_path) { 'db/schema.rb' }
Expand Down

0 comments on commit 13a0fbe

Please sign in to comment.