Browse files

updated tests

  • Loading branch information...
1 parent a84f77a commit 0d9ab167cc128fc7d4200942566663b2c956d4e8 @brianleroux brianleroux committed Jul 19, 2011
Showing with 2 additions and 2 deletions.
  1. +2 −2 test/lawnchair-spec.js
View
4 test/lawnchair-spec.js
@@ -28,8 +28,8 @@ test('ctor requires callbacks in each form', function() {
var lc = new Lawnchair({name:store.name}, function(ref) {
ok(true, 'should call passed in callback when using obj+function ctor form')
- equals(this, lc, "lawnchair callback scoped to lawnchair instance")
- equals(ref, lc, "lawnchair passes self into callback too")
+ equals(this, ref, "lawnchair callback scoped to lawnchair instance")
+ equals(ref, this, "lawnchair passes self into callback too")
QUnit.start()
});
});

0 comments on commit 0d9ab16

Please sign in to comment.