Skip to content

Commit

Permalink
Update request.js
Browse files Browse the repository at this point in the history
  • Loading branch information
gregorybesson committed Sep 26, 2016
1 parent 0696866 commit ecec0cf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/request.js
Expand Up @@ -7,11 +7,11 @@ describe('Request', function() {
*
*/
it('Util.getAllAttributes()', function(done) {
this.timeout(4000)
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');
setTimeout(done, 4000);
chai.assert.equal(attributes.sourceString, 'select * from ../', 'sourceString is ok')
});

/**
Expand Down

0 comments on commit ecec0cf

Please sign in to comment.