spec/rubocop/cop/offence_spec.rb in rubocop-0.12.0 vs spec/rubocop/cop/offence_spec.rb in rubocop-0.13.0
- old
+ new
@@ -108,14 +108,14 @@
end
describe '#<=>' do
def offence(hash = {})
attrs = {
- sev: :convention,
+ sev: :convention,
line: 5,
- col: 5,
- mes: 'message',
- cop: 'CopName'
+ col: 5,
+ mes: 'message',
+ cop: 'CopName'
}.merge(hash)
Offence.new(
attrs[:sev],
location(attrs[:line], attrs[:col],