Skip to content

Commit

Permalink
tests fixing
Browse files Browse the repository at this point in the history
  • Loading branch information
gregorybesson committed Sep 26, 2016
1 parent 563e5e8 commit 8d8ad43
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions .travis.yml
Expand Up @@ -6,4 +6,5 @@ env:
install:
- npm install
script:
- npm lint
- npm test
4 changes: 3 additions & 1 deletion test/request.js
Expand Up @@ -6,10 +6,12 @@ describe('Request', function() {
* Sql.getAllAttributes
*
*/
it('Util.getAllAttributes()', function() {
it('Util.getAllAttributes()', function(done) {
var Util = require('../src/cli').Util
var attributes = Util.getAllAttributes("{{abe type='data' key='top_things_slider_highlight' desc='Automatic slider' source='select * from ../' editable='false'}}", {})

chai.assert.equal(attributes.sourceString, 'select * from ../', 'sourceString is ok');
done();
});

/**
Expand Down

0 comments on commit 8d8ad43

Please sign in to comment.