Sha256: a674f9b23f738b747455ca6ed9851d16175add0c34daad9e0fc2bcd2ede433cf

Contents?: true

Size: 351 Bytes

Versions: 3

Compression:

Stored size: 351 Bytes

Contents

# encoding: utf-8

require 'spec_helper'

describe 'RuboCop Project' do
  describe 'default configuration file' do
    it 'has configuration for all cops' do
      cop_names = Rubocop::Cop::Cop.all.map(&:cop_name)
      expect(Rubocop::Config.load_file('config/default.yml').keys.sort)
        .to eq((['AllCops'] + cop_names).sort)
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
rubocop-0.11.1 spec/project_spec.rb
rubocop-0.11.0 spec/project_spec.rb
rubocop-0.10.0 spec/project_spec.rb