diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2023-11-07 12:08:54 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2023-11-07 12:08:54 +0300 |
commit | dfa6eac07553d5a3f254ee904e4298bd666b410f (patch) | |
tree | a14e04cf628bf1bd28a0c95ed6261461605cfe2e /spec/rubocop | |
parent | 4be549b5ebd354c69fcd2a09e2a2f642490612cf (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/rubocop')
-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 |