Replace goog.object.getValues() with ol.object.getValues()

This commit is contained in:
Tim Schaub
2016-02-03 22:20:03 -07:00
parent 417dbf36c8
commit e2fe897811
6 changed files with 33 additions and 10 deletions

View File

@@ -43,6 +43,15 @@ describe('ol.object.clear()', function() {
});
describe('ol.object.getValues()', function() {
it('gets a list of property values from an object', function() {
expect(ol.object.getValues({foo: 'bar', num: 42}).sort()).to.eql([42, 'bar']);
expect(ol.object.getValues(null)).to.eql([]);
});
});
describe('ol.object.isEmpty()', function() {
it('checks if an object has any properties', function() {