Browse files

Updating tests to include testswarm hook. Changing JSONP test back to…

… 3 expectations (instead of 5)
  • Loading branch information...
1 parent 576a956 commit bdb61073df42091201d9a2bd5e94b2906a78a172 @jdsharp jdsharp committed Nov 16, 2011
Showing with 2 additions and 1 deletion.
  1. +1 −0 test/index.html
  2. +1 −1 test/test.js
View
1 test/index.html
@@ -3,6 +3,7 @@
<head>
<link rel="stylesheet" href="../lib/qunit.css" type="text/css" media="screen" />
<script src="../lib/qunit.js"></script>
+ <script src="../lib/testswarm.js"></script>
<script src="jquery.js"></script>
<script src="../jquery.mockjax.js"></script>
<script src="test.js"></script>
View
2 test/test.js
@@ -313,7 +313,7 @@ asyncTest('Response returns json', function() {
});
$.mockjaxClear();
});
-asyncTest('Response returns jsonp', 5, function() {
+asyncTest('Response returns jsonp', 3, function() {
$.mockjax({
url: '/jsonp*',
contentType: 'text/json',

0 comments on commit bdb6107

Please sign in to comment.