blob: e614b6fa3cb6167b185b5a2e77b710cadfd69c53 (
plain) (
tree)
|
|
testSupport.lib('querystring');
suite('caldav/querystring', function() {
var QueryString;
suiteSetup(function() {
QueryString = Caldav.require('querystring');
});
/*
* quick sanity check we just copied node's version so we expect it to work.
*/
test('stringify', function() {
var input = { foo: 'bar', baz: 'qux' };
var expected = 'foo=bar&baz=qux';
assert.equal(QueryString.stringify(input), expected);
});
});
|