Sha256: 61bab6b7b00ca9c2f60859a7d87c1d0fed0bf0fe0e230bd1f32b813bdee34a0e

Contents?: true

Size: 209 Bytes

Versions: 5

Compression:

Stored size: 209 Bytes

Contents

# encoding: utf-8

require 'spec_helper'

describe Attribute::Date, '#range' do
  subject { object.range }

  let(:object) { described_class.new(:date) }

  it { should == (Date.new..Date::Infinity.new) }
end

Version data entries

5 entries across 5 versions & 2 rubygems

Version Path
axiom-0.1.0 spec/unit/axiom/attribute/date/range_spec.rb
veritas-0.0.7 spec/unit/veritas/attribute/date/range_spec.rb
veritas-0.0.6 spec/unit/veritas/attribute/date/range_spec.rb
veritas-0.0.5 spec/unit/veritas/attribute/date/range_spec.rb
veritas-0.0.4 spec/unit/veritas/attribute/date/range_spec.rb