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.13.0 | spec/project/project_requires_spec.rb |