Sha256: 686d8b9ec010a9f3d14eedcc42e09d79ef900c3e67b21ab2ca3f1d10fcae2c58

Contents?: true

Size: 359 Bytes

Versions: 6

Compression:

Stored size: 359 Bytes

Contents

require File.expand_path(File.join(File.dirname(__FILE__), '../..', 'spec_helper'))

describe DataMapper::Property::Time do
  before :all do
    @name  = :deleted_at
    @type  = DataMapper::Property::Time
    @primitive = Time
    @value = Time.now
    @other_value = Time.now+15
    @invalid_value = 1
  end

  it_should_behave_like "A public Property"
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
dm-core-1.0.2 spec/public/property/time_spec.rb
dm-core-1.0.1 spec/public/property/time_spec.rb
dm-core-1.0.0 spec/public/property/time_spec.rb
dm-core-1.0.0.rc3 spec/public/property/time_spec.rb
dm-core-1.0.0.rc2 spec/public/property/time_spec.rb
dm-core-1.0.0.rc1 spec/public/property/time_spec.rb