Sha256: 3a092c609bbe0f67496041a60c7c4cf5b0f38be76713e71bd6bc6f544a0c94f2

Contents?: true

Size: 403 Bytes

Versions: 11

Compression:

Stored size: 403 Bytes

Contents

require 'spec_helper'

module CSL
  describe Style::Date do
  
  end

  describe Style::DatePart do

    describe '#numeric-leading-zeros?' do
      
      it { is_expected.not_to be_numeric_leading_zeros }
      
      it 'returns true when the form is set accordingly' do
        subject[:form] = 'numeric-leading-zeros'
        expect(subject).to be_numeric_leading_zeros
      end
    end

  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

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