spec/rubocop/rspec/example_spec.rb in rubocop-rspec-1.15.0 vs spec/rubocop/rspec/example_spec.rb in rubocop-rspec-1.15.1
- old
+ new
@@ -26,10 +26,10 @@
.to eq([s(:sym, :bar), s(:hash, s(:pair, s(:sym, :baz), s(:sym, :qux)))])
end
it 'extracts implementation' do
expect(example('it("foo") { bar; baz }').implementation)
- .to eql(s(:begin, s(:send, nil, :bar), s(:send, nil, :baz)))
+ .to eq(s(:begin, s(:send, nil, :bar), s(:send, nil, :baz)))
end
it 'returns node' do
node = s(:sym, :node)
expect(described_class.new(node).to_node).to be(node)