diff options
Diffstat (limited to 'spec/rubocop/rubocop_spec.rb')
-rw-r--r-- | spec/rubocop/rubocop_spec.rb | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/spec/rubocop/rubocop_spec.rb b/spec/rubocop/rubocop_spec.rb new file mode 100644 index 00000000000..a80a0f72bdf --- /dev/null +++ b/spec/rubocop/rubocop_spec.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +# No spec helper is `require`d because `fast_spec_helper` requires +# `active_support/all` and we want to ensure that `rubocop/rubocop` loads it. + +require 'rubocop' +require_relative '../../rubocop/rubocop' + +RSpec.describe 'rubocop/rubocop', feature_category: :tooling do + it 'loads activesupport to enhance Enumerable' do + expect(Enumerable.instance_methods).to include(:exclude?) + end +end |