Welcome to mirror list, hosted at ThFree Co, Russian Federation.

rubocop_spec.rb « rubocop « spec - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: a80a0f72bdf943f14483d4ac9e56ab964dd1889f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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