Skip to content

Commit

Permalink
Added test case for single quote parameter that triggers external change
Browse files Browse the repository at this point in the history
  • Loading branch information
kycook committed Aug 14, 2012
1 parent 38b3ac0 commit 1a025b1
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions test/test.js
Expand Up @@ -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);
Expand Down

0 comments on commit 1a025b1

Please sign in to comment.