whitespace for hash

This commit is contained in:
snkashis 2012-12-26 11:45:38 -05:00
parent 8d442b1630
commit 3d416f38e1

View File

@ -65,17 +65,17 @@ describe('Util', function() {
describe('#getParamString', function() {
it('should create a valid query string for appending depending on url input', function() {
var a = {
url:"http://example.com/get",
obj:{bar: 7, baz: 3},
result:"?bar=7&baz=3"
url: "http://example.com/get",
obj: {bar: 7, baz: 3},
result: "?bar=7&baz=3"
};
expect(L.Util.getParamString(a.obj,a.url)).toEqual(a.result);
var b = {
url:"http://example.com/get?justone=qs",
obj:{bar: 7, baz: 3},
result:"&bar=7&baz=3"
url: "http://example.com/get?justone=qs",
obj: {bar: 7, baz: 3},
result: "&bar=7&baz=3"
};
expect(L.Util.getParamString(b.obj,b.url)).toEqual(b.result);
@ -94,4 +94,4 @@ describe('Util', function() {
// TODO setOptions
// TODO template
});
});