Sha256: d5243e364031893731bccf94c6538c77d85580154e1429611a678fb388cc55cf

Contents?: true

Size: 447 Bytes

Versions: 10

Compression:

Stored size: 447 Bytes

Contents

require 'spec_helper'

module CSL  
  describe Locale::StyleOptions do
  
    it { should_not be nil }
    
    it 'punctuation-in-quote is false by default' do
      subject[:'punctuation-in-quote'].should be false
    end
    
    describe '#to_xml' do
      it 'returns <style-options punctuation-in-quote="false"/> by default' do
        subject.to_xml.should == '<style-options punctuation-in-quote="false"/>'
      end
    end
    
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
csl-1.0.0.pre10 spec/csl/locale/style_options_spec.rb
csl-1.0.0.pre9 spec/csl/locale/style_options_spec.rb
csl-1.0.0.pre8 spec/csl/locale/style_options_spec.rb
csl-1.0.0.pre7 spec/csl/locale/style_options_spec.rb
csl-1.0.0.pre6 spec/csl/locale/style_options_spec.rb
csl-1.0.0.pre5 spec/csl/locale/style_options_spec.rb
csl-1.0.0.pre4 spec/csl/locale/style_options_spec.rb
csl-1.0.0.pre3 spec/csl/locale/style_options_spec.rb
csl-1.0.0.pre2 spec/csl/locale/style_options_spec.rb
csl-1.0.0.pre1 spec/csl/locale/style_options_spec.rb