Permalink
Browse files

Fix test.

  • Loading branch information...
intuited committed May 23, 2011
1 parent 1cf959f commit d7de2e951cb7fa676b1c432048a9bfac8f6ea439
Showing with 3 additions and 3 deletions.
  1. +3 −3 server/test/test-replique.js
@@ -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) {

0 comments on commit d7de2e9

Please sign in to comment.