Sha256: 223a28d1a8f407c2190e9478e0f166a8b840cda265a49980f591ac9d9fc6f3cb

Contents?: true

Size: 285 Bytes

Versions: 5

Compression:

Stored size: 285 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/rspec/[^(?:cop)]})

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

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
rubocop-rspec-1.12.0 spec/project/project_requires_spec.rb
rubocop-rspec-1.11.0 spec/project/project_requires_spec.rb
rubocop-rspec-1.10.0 spec/project/project_requires_spec.rb
rubocop-rspec-1.9.1 spec/project/project_requires_spec.rb
rubocop-rspec-1.9.0 spec/project/project_requires_spec.rb