diff --git a/spec/suites/core/UtilSpec.js b/spec/suites/core/UtilSpec.js index 0d32e8e1..777fba22 100644 --- a/spec/suites/core/UtilSpec.js +++ b/spec/suites/core/UtilSpec.js @@ -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 -}); +});