spec/citeproc/ruby/formats/default_spec.rb in citeproc-ruby-1.1.0 vs spec/citeproc/ruby/formats/default_spec.rb in citeproc-ruby-1.1.1
- old
+ new
@@ -109,9 +109,15 @@
expect(format.apply('This IS a pen that is a smith pencil', node)).to eq('This IS a Pen That Is a Smith Pencil')
expect(format.apply('of mice and men', node)).to eq('Of Mice and Men')
expect(format.apply('history of the word the', node)).to eq('History of the Word The')
expect(format.apply('faster than the speed of sound', node)).to eq('Faster than the Speed of Sound')
expect(format.apply('on the drug-resistance of enteric bacteria', node)).to eq('On the Drug-Resistance of Enteric Bacteria')
+ expect(format.apply("The Mote in God's eye", node)).to eq("The Mote in God's Eye")
+ expect(format.apply("The Mote in God eye", node)).to eq("The Mote in God Eye")
+ expect(format.apply("Music community mourns death of one of its leaders", node)).to eq("Music Community Mourns Death of One of Its Leaders")
+ expect(format.apply("Pride and Prejudice", node)).to eq("Pride and Prejudice")
+ expect(format.apply("Check the page: easybib.com", node)).to eq("Check the Page: Easybib.com")
+ expect(format.apply("Dogs life.obviously the best guide for pet owners", node)).to eq("Dogs Life.obviously the Best Guide for Pet Owners")
end
end
describe 'strip-periods' do
before { node[:'strip-periods'] = true }