Sha256: ee387ce8428bd8d51d443e99eee5aadb5c92dee8bbbaa7910305db6af42f5864
Contents?: true
Size: 345 Bytes
Versions: 1
Compression:
Stored size: 345 Bytes
Contents
require 'spec_helper' module CSL describe Style do it { should be } 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 end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
csl-1.0.0.pre1 | spec/csl/style_spec.rb |