Sha256: b30698b1213fddf88c82b3494d85a0f3e5c05fb09d667672401ca96f24a16a51
Contents?: true
Size: 448 Bytes
Versions: 1
Compression:
Stored size: 448 Bytes
Contents
require 'spec_helper' module CSL describe Style do it 'has a 1.x version by default' do Style.new[:version].should match(/1\.\d+(\.\d+)?/) end describe '#to_xml' do it 'returns an empty style' do Style.new.to_xml.should match(/<style[^>]*\/>/) end it 'supports round-trip for apa style' do Style.parse(Style.load(:apa).to_xml).should be_a(Style) end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
csl-1.0.0.pre2 | spec/csl/style_spec.rb |