Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Added test case for single quote parameter that triggers external change

  • Loading branch information...
commit 1a025b1f38ed074918a116f7b2f2a7c16f69ca34 1 parent 38b3ac0
@kycook kycook authored
Showing with 16 additions and 0 deletions.
  1. +16 −0 test/test.js
View
16 test/test.js
@@ -243,6 +243,22 @@ asyncTest('Character test', function() {
}, 1000);
});
+asyncTest('Single quote test', function() {
+ setTimeout(function() {
+ var externalChange = 0;
+ var testFunction = function() {
+ externalChange++;
+ equals(externalChange, 0);
+ };
+ var ignore = false;
+ $.address.value('/')
+ .bind('externalChange', testFunction)
+ .parameter('p', "Patrick's Test")
+ .unbind('externalChange', testFunction);
+ start();
+ }, 1000);
+});
+
asyncTest('Value test', function() {
setTimeout(function() {
$.address.value(1);
Please sign in to comment.
Something went wrong with that request. Please try again.