spec/expect_violation/expectation_spec.rb in rubocop-rspec-1.15.0 vs spec/expect_violation/expectation_spec.rb in rubocop-rspec-1.15.1
- old
+ new
@@ -69,10 +69,10 @@
)
end
it 'has an assertion with correct violation message' do
expect(assertions.map(&:message)).to eql(
- %w(Charlie Charlie Alpha Bronco Delta)
+ %w[Charlie Charlie Alpha Bronco Delta]
)
end
it 'recreates source' do
expect(expectation.source).to eql(<<-RUBY)