spec/citeproc/ruby/renderer/macro_spec.rb in citeproc-ruby-1.0.3 vs spec/citeproc/ruby/renderer/macro_spec.rb in citeproc-ruby-1.0.4
- old
+ new
@@ -13,17 +13,17 @@
i.data = CiteProc::Item.new(:id => 'ID-1')
i
}
it 'returns an empty string when empty' do
- renderer.render(item, node).should == ''
+ expect(renderer.render(item, node)).to eq('')
end
it 'renders each child' do
node << CSL::Style::Text.new(:value => 'foo')
node << CSL::Style::Text.new(:value => 'bar')
- renderer.render(item, node).should == 'foobar'
+ expect(renderer.render(item, node)).to eq('foobar')
end
end
end