Sha256: 8dd4acc28c849839a9d37ba0a1f552b74b39faeab4e6d3779020c219a804a074
Contents?: true
Size: 720 Bytes
Versions: 4
Compression:
Stored size: 720 Bytes
Contents
require_relative '../test-util' describe 'Model::List' do it 'should be equal' do x1 = PioneList.new x2 = PioneList.new x1.should.be.equal x2 end it 'should be equal with elements' do x1 = PioneList.new(PioneString.new("abc"), PioneString.new("def")) x2 = PioneList.new(PioneString.new("abc"), PioneString.new("def")) x1.should.be.equal x2 end it 'should not be equal' do x1 = PioneList.new(PioneString.new("abc")) x2 = PioneList.new(PioneString.new("abc"), PioneString.new("def")) x1.should.not.be.equal x2 end it 'should have type [string]' do list = PioneList.new(PioneString.new("abc")) list.pione_model_type.should == TypeList.new(TypeString) end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
pione-0.1.3 | test/model/spec_list.rb |
pione-0.1.2 | test/model/spec_list.rb |
pione-0.1.1 | test/model/spec_list.rb |
pione-0.1.0 | test/model/spec_list.rb |