Sha256: 6b62179be0b57d70cb58d65659d283007f4df2bc96dc5316d2e264bf61dec23f

Contents?: true

Size: 419 Bytes

Versions: 14

Compression:

Stored size: 419 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

14 entries across 14 versions & 1 rubygems

Version Path
csl-1.2.1 spec/csl/locale/style_options_spec.rb
csl-1.2.0 spec/csl/locale/style_options_spec.rb
csl-1.1.0 spec/csl/locale/style_options_spec.rb
csl-1.0.2 spec/csl/locale/style_options_spec.rb
csl-1.0.1 spec/csl/locale/style_options_spec.rb
csl-1.0.0 spec/csl/locale/style_options_spec.rb
csl-1.0.0.pre23 spec/csl/locale/style_options_spec.rb
csl-1.0.0.pre22 spec/csl/locale/style_options_spec.rb
csl-1.0.0.pre21 spec/csl/locale/style_options_spec.rb
csl-1.0.0.pre20 spec/csl/locale/style_options_spec.rb
csl-1.0.0.pre19 spec/csl/locale/style_options_spec.rb
csl-1.0.0.pre18 spec/csl/locale/style_options_spec.rb
csl-1.0.0.pre17 spec/csl/locale/style_options_spec.rb
csl-1.0.0.pre16 spec/csl/locale/style_options_spec.rb