diff options
Diffstat (limited to 'spec')
-rw-r--r-- | spec/RestfulSpecRunner.html | 1 | ||||
-rw-r--r-- | spec/specHelper.js | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/spec/RestfulSpecRunner.html b/spec/RestfulSpecRunner.html index caf7147..913dab8 100644 --- a/spec/RestfulSpecRunner.html +++ b/spec/RestfulSpecRunner.html @@ -12,6 +12,7 @@ <script type="text/javascript" src="lib/sinon/sinon-1.3.4.js"></script> <script type="text/javascript" src="lib/jasmine-sinon.js"></script> + <script type="text/javascript" src="lib/jquery-1.8.2.js"></script> <!-- the files we are testing... --> <script type="text/javascript" src="../lib/SHA256.js"></script> diff --git a/spec/specHelper.js b/spec/specHelper.js index 21a0cb7..5db81ad 100644 --- a/spec/specHelper.js +++ b/spec/specHelper.js @@ -15,7 +15,7 @@ var specHelper = (function() { function expectRequest(url, content) { expect(this.requests.length).toBe(1); expect(this.requests[0].url).toBe(url); - expect(this.requests[0].requestBody).toBe(content); + expect(decodeURI(this.requests[0].requestBody)).toBe(content); } function respondXML(content) { |