mirror of
https://github.com/harttle/liquidjs.git
synced 2026-09-16 12:50:38 -07:00
test cases for #32
This commit is contained in:
@@ -62,14 +62,6 @@ 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
|
||||
})
|
||||
})
|
||||
describe('.echo()', function () {
|
||||
it('should be transparent', function () {
|
||||
expect(_.echo('foo')('bar')).to.equal('bar')
|
||||
|
||||
Reference in New Issue
Block a user