spec/rubocop/cop/offence_spec.rb in rubocop-0.16.0 vs spec/rubocop/cop/offence_spec.rb in rubocop-0.17.0
- old
+ new
@@ -117,10 +117,10 @@
[{ line: 5, col: 6 }, { line: 5, col: 5 }, 1],
[{ line: 6, col: 4 }, { line: 5, col: 5 }, 1],
[{ cop: 'B' }, { cop: 'A' }, 1],
[{ line: 6, cop: 'A' }, { line: 5, cop: 'B' }, 1],
- [{ col: 6, cop: 'A' }, { col: 5, cop: 'B' }, 1],
+ [{ col: 6, cop: 'A' }, { col: 5, cop: 'B' }, 1]
].each do |one, other, expectation|
context "when receiver has #{one} and other has #{other}" do
it "returns #{expectation}" do
an_offence = offence(one)
other_offence = offence(other)