spec/unit/hexp/node/attributes_spec.rb in hexp-0.4.1 vs spec/unit/hexp/node/attributes_spec.rb in hexp-0.4.2

- old
+ new

@@ -89,13 +89,9 @@ end it 'should override attributes' do expect(H[:foo, class: 'baz'].set_attrs(class: 'bar')).to eq H[:foo, class: 'bar'] end - - it 'should merge keep both old and new attributes' do - expect(H[:foo, class: 'baz'].set_attrs(src: 'bar')).to eq H[:foo, class: 'baz', src: 'bar'] - end end describe 'merge_attrs' do describe 'when passing in a Hash' do it 'should set attributes' do