Sha256: 582af06efe40eb1e94c33387b9eed3306141ec55c2cff1f65948616f6ddea960

Contents?: true

Size: 268 Bytes

Versions: 2

Compression:

Stored size: 268 Bytes

Contents

describe 'Project requires' do
  it 'alphabetizes cop requires' do
    source   = SpecHelper::ROOT.join('lib', 'rubocop-rspec.rb').read
    requires = source.split("\n").grep(%r{rubocop/cop})

    expect(requires.join("\n")).to eql(requires.sort.join("\n"))
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
rubocop-rspec-1.8.0 spec/project/project_requires_spec.rb
rubocop-rspec-1.7.0 spec/project/project_requires_spec.rb