Sha256: f1aaf032d74627c60fb100c514512f512ffededc233e9cf98c546e5871ab0581

Contents?: true

Size: 294 Bytes

Versions: 4

Compression:

Stored size: 294 Bytes

Contents

require 'spec_helper'

describe DataMapper::Property::Boolean do
  before :all do
    @name  = :active
    @type  = DataMapper::Property::Boolean
    @primitive = TrueClass
    @value = true
    @other_value = false
    @invalid_value = 1
  end

  it_should_behave_like "A public Property"
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
dm-core-1.1.0 spec/public/property/boolean_spec.rb
dm-core-1.1.0.rc3 spec/public/property/boolean_spec.rb
dm-core-1.1.0.rc2 spec/public/property/boolean_spec.rb
dm-core-1.1.0.rc1 spec/public/property/boolean_spec.rb