spec/rubocop/rspec/example_spec.rb in rubocop-rspec-1.20.1 vs spec/rubocop/rspec/example_spec.rb in rubocop-rspec-1.21.0

- old
+ new

@@ -7,15 +7,15 @@ described_class.new(parse_source(source).ast) end it 'extracts doc string' do expect(example("it('does x') { foo }").doc_string) - .to eql(s(:str, 'does x')) + .to eq(s(:str, 'does x')) end it 'extracts doc string for unimplemented examples' do expect(example("it('does x')").doc_string) - .to eql(s(:str, 'does x')) + .to eq(s(:str, 'does x')) end it 'returns nil for examples without doc strings' do expect(example('it { foo }').doc_string).to be(nil) end