diff --git a/test/mocha/templates.coffee b/test/mocha/templates.coffee index 72281ab2..2489b711 100644 --- a/test/mocha/templates.coffee +++ b/test/mocha/templates.coffee @@ -5,19 +5,22 @@ should = require 'should' describe 'Fetching templates', -> {service} = new Fixture - + @beforeAll prepare service.fetchTemplates it 'should find some templates', eventually (templates) -> should.exist templates + it 'should return tags for private templates', eventually (templates) -> + templates["private-template-1"]["tags"].length.should.equal 2 + it 'should include ManagerLookup', eventually (templates) -> templates.should.have.property('ManagerLookup').with.property('select') describe 'Using templates', -> {service} = new Fixture - + @beforeAll prepare service.fetchTemplates it 'should be just like using queries', eventually (templates) ->