Sha256: 89a31a63a83e436e157af1c0f1f3f77ddaf170c8a3168dea71fe5ec95c4aa36d

Contents?: true

Size: 291 Bytes

Versions: 21

Compression:

Stored size: 291 Bytes

Contents

RSpec.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

21 entries across 21 versions & 1 rubygems

Version Path
rubocop-rspec-1.27.0 spec/project/project_requires_spec.rb
rubocop-rspec-1.26.0 spec/project/project_requires_spec.rb
rubocop-rspec-1.25.1 spec/project/project_requires_spec.rb
rubocop-rspec-1.25.0 spec/project/project_requires_spec.rb
rubocop-rspec-1.24.0 spec/project/project_requires_spec.rb
rubocop-rspec-1.23.0 spec/project/project_requires_spec.rb
rubocop-rspec-1.22.2 spec/project/project_requires_spec.rb
rubocop-rspec-1.22.1 spec/project/project_requires_spec.rb
rubocop-rspec-1.22.0 spec/project/project_requires_spec.rb
rubocop-rspec-1.21.0 spec/project/project_requires_spec.rb
rubocop-rspec-1.20.1 spec/project/project_requires_spec.rb
rubocop-rspec-1.20.0 spec/project/project_requires_spec.rb
rubocop-rspec-1.19.0 spec/project/project_requires_spec.rb
rubocop-rspec-1.18.0 spec/project/project_requires_spec.rb
rubocop-rspec-1.17.1 spec/project/project_requires_spec.rb
rubocop-rspec-1.17.0 spec/project/project_requires_spec.rb
rubocop-rspec-1.16.0 spec/project/project_requires_spec.rb
rubocop-rspec-1.15.1 spec/project/project_requires_spec.rb
rubocop-rspec-1.15.0 spec/project/project_requires_spec.rb
rubocop-rspec-1.14.0 spec/project/project_requires_spec.rb