Sha256: 6fd78bd2561cc8774c15f52b15c6bad9b91f4ad92ead237278a3cd58c38e7e1c

Contents?: true

Size: 572 Bytes

Versions: 4

Compression:

Stored size: 572 Bytes

Contents

require 'spec_helper'

describe NegInt do
  subject{ NegInt }
  it_should_behave_like 'a domain class'
end

describe Boolean do
  subject{ Boolean }
  it_should_behave_like 'a domain class'
end

describe Point do
  subject{ Point }
  it_should_behave_like 'a domain class'
end

describe List do
  subject{ List }
  it_should_behave_like 'a domain class'
end

describe AttrList do
  subject{ AttrList }

  it_should_behave_like 'a domain class'

  it 'should have OrderedSet helpers' do
    AttrList.new([1, 2, 3]).map{|x| x*2}.should eq(AttrList.new([2, 4, 6]))
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
domain-1.0.0 spec/test_fixtures.rb
domain-1.0.0.rc4 spec/test_fixtures.rb
domain-1.0.0.rc3 spec/test_fixtures.rb
domain-1.0.0.rc2 spec/test_fixtures.rb