Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 1 addition & 9 deletions spec/rubocop/cop/active_record_helper_spec.rb
Original file line number Diff line number Diff line change
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