Sha256: 897cf888b9fe396cbb240201316c5b485634807db759920ac8b3161488f9bf81

Contents?: true

Size: 439 Bytes

Versions: 11

Compression:

Stored size: 439 Bytes

Contents

require 'spec_helper'

module CSL  
  describe Locale::StyleOptions do
  
    it { is_expected.not_to be nil }
    
    it 'punctuation-in-quote is false by default' do
      expect(subject[:'punctuation-in-quote']).to be false
    end
    
    describe '#to_xml' do
      it 'returns <style-options punctuation-in-quote="false"/> by default' do
        expect(subject.to_xml).to match(/<style-options\/>/)
      end
    end
    
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
csl-1.4.5 spec/csl/locale/style_options_spec.rb
csl-1.4.4 spec/csl/locale/style_options_spec.rb
csl-1.4.3 spec/csl/locale/style_options_spec.rb
csl-1.4.2 spec/csl/locale/style_options_spec.rb
csl-1.4.1 spec/csl/locale/style_options_spec.rb
csl-1.4.0 spec/csl/locale/style_options_spec.rb
csl-1.3.2 spec/csl/locale/style_options_spec.rb
csl-1.3.1 spec/csl/locale/style_options_spec.rb
csl-1.3.0 spec/csl/locale/style_options_spec.rb
csl-1.2.3 spec/csl/locale/style_options_spec.rb
csl-1.2.2 spec/csl/locale/style_options_spec.rb