spec/rubocop/rspec/example_spec.rb in rubocop-rspec-1.12.0 vs spec/rubocop/rspec/example_spec.rb in rubocop-rspec-1.13.0
- old
+ new
@@ -35,10 +35,10 @@
node = s(:sym, :node)
expect(described_class.new(node).to_node).to be(node)
end
context 'value object semantics' do
- it 'compares by value' do # rubocop:disable RSpec/MultipleExpectations
+ it 'compares by value' do
aggregate_failures 'equality semantics' do
expect(example('it("foo")')).to eq(example('it("foo")'))
expect(example('it("foo")')).not_to eq(example('it("bar")'))
end
end