Skip to content

Commit

Permalink
UT
Browse files Browse the repository at this point in the history
  • Loading branch information
gregorybesson committed Sep 26, 2016
1 parent b111ae4 commit a56ca5f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/request.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,12 @@ describe('Request', function() {
*
*/
it('Util.getAllAttributes()', function(done) {
this.timeout(15000)

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 a56ca5f

Please sign in to comment.