spec/rubocop/cops/surrounding_space_spec.rb in rubocop-0.2.0 vs spec/rubocop/cops/surrounding_space_spec.rb in rubocop-0.2.1

- old
+ new

@@ -159,10 +159,10 @@ end it 'registers an offences for exponent operator with spaces' do inspect_source(space, 'file.rb', ['x = a * b ** 2']) space.offences.map(&:message).should == - ["Space around operator ** detected."] + ['Space around operator ** detected.'] end it 'accepts exponent operator without spaces' do inspect_source(space, 'file.rb', ['x = a * b**2']) space.offences.size.should == 0