spec/project/project_requires_spec.rb in rubocop-rspec-1.8.0 vs spec/project/project_requires_spec.rb in rubocop-rspec-1.9.0

- old
+ new

@@ -1,8 +1,8 @@ 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}) + requires = source.split("\n").grep(%r{rubocop/cop/rspec/[^(?:cop)]}) expect(requires.join("\n")).to eql(requires.sort.join("\n")) end end