spec/rubocop/rspec/config_formatter_spec.rb in rubocop-rspec-1.12.0 vs spec/rubocop/rspec/config_formatter_spec.rb in rubocop-rspec-1.13.0
- old
+ new
@@ -29,20 +29,20 @@
it 'builds a YAML dump with spacing between cops' do
formatter = described_class.new(config, descriptions)
expect(formatter.dump).to eql(<<-YAML.gsub(/^\s+\|/, ''))
- |---
- |AllCops:
- | Setting: fourty two
- |
- |RSpec/Foo:
- | Config: 2
- | Enabled: true
- | Description: Blah
- |
- |RSpec/Bar:
- | Enabled: true
- | Description: Wow
+ |---
+ |AllCops:
+ | Setting: fourty two
+ |
+ |RSpec/Foo:
+ | Config: 2
+ | Enabled: true
+ | Description: Blah
+ |
+ |RSpec/Bar:
+ | Enabled: true
+ | Description: Wow
YAML
end
end