Sha256: 6ddeef6c1ba2e304fcedfbf11226b226198d4baf664d5b42a079c5993b859fb8

Contents?: true

Size: 427 Bytes

Versions: 5

Compression:

Stored size: 427 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 [^\/>]+\/>/
      end
    end
    
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
csl-1.0.0.pre15 spec/csl/locale/style_options_spec.rb
csl-1.0.0.pre14 spec/csl/locale/style_options_spec.rb
csl-1.0.0.pre13 spec/csl/locale/style_options_spec.rb
csl-1.0.0.pre12 spec/csl/locale/style_options_spec.rb
csl-1.0.0.pre11 spec/csl/locale/style_options_spec.rb