mirror of
https://github.com/harttle/liquidjs.git
synced 2026-09-26 13:45:15 -07:00
feature: root option allows array of strings
This commit is contained in:
@@ -45,4 +45,12 @@ describe('util/underscore', function() {
|
||||
expect(spy).to.have.been.calledOnce;
|
||||
});
|
||||
});
|
||||
describe('.isArray()', function() {
|
||||
it('should return true for []', function() {
|
||||
expect(_.isArray([])).to.be.true;
|
||||
});
|
||||
it('should return false for "foo"', function() {
|
||||
expect(_.isArray("foo")).to.be.false;
|
||||
});
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user