Skip to content

Commit

Permalink
Fix test.
Browse files Browse the repository at this point in the history
  • Loading branch information
intuited committed May 23, 2011
1 parent 1cf959f commit d7de2e9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions server/test/test-replique.js
Expand Up @@ -95,9 +95,9 @@ exports['use of Contexts objects'] = nodeunit.testCase({
test.done();
},
'getting the same context twice': function (test) {
var context = this.contexts.get('test');
context.evaluate('var testvar = 1;');
test.strictEqual(this.contexts.get('test').evaluate('testvar'), 1);
this.contexts.get('test').evaluate('var testvar = 1;');
test.strictEqual(this.contexts.get('test').evaluate('testvar').value,
1);
test.done();
},
'unique contexts with empty prefix': function (test) {
Expand Down

0 comments on commit d7de2e9

Please sign in to comment.