Test .value() method - as used by scope getter
This commit is contained in:
parent
433b89a78a
commit
a815ad0c1a
|
@ -1916,6 +1916,8 @@ describe('relations', function () {
|
|||
list.should.equal(addresses);
|
||||
list.should.equal(p.addresses);
|
||||
|
||||
p.addressList.value().should.equal(list);
|
||||
|
||||
addresses.should.have.length(2);
|
||||
addresses[0].id.should.eql(address1.id);
|
||||
addresses[0].street.should.equal('Street 1');
|
||||
|
|
Loading…
Reference in New Issue