spec/rubocop/rspec/example_spec.rb in rubocop-rspec-1.19.0 vs spec/rubocop/rspec/example_spec.rb in rubocop-rspec-1.20.0
- old
+ new
@@ -34,10 +34,10 @@
it 'returns node' do
node = s(:sym, :node)
expect(described_class.new(node).to_node).to be(node)
end
- context 'value object semantics' do
+ describe 'value object semantics' do
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