Permalink
Browse files

Optimize test resolution.

  • Loading branch information...
jcoglan committed Dec 30, 2010
1 parent 5ebf2aa commit 9709cadea4bcc4d18906b17191ac8a1c555f7964
Showing with 3 additions and 2 deletions.
  1. +0 −1 source/test/context/context.js
  2. +2 −0 source/test/unit/auto_runner.js
  3. +1 −1 test/specs/test/context_spec.js
@@ -100,7 +100,6 @@ JS.Test.extend({
JS.Test.selfless(block).call(klass);
- klass.resolve();
return klass;
},
@@ -12,6 +12,8 @@ JS.Test.Unit.extend({
names = [],
suites = [];
+ JS.Test.Unit.TestCase.resolve();
+
JS.Test.Unit.TestCase.forEach(function(testcase) {
suites.push(testcase.suite());
if (testcase.superclass === JS.Test.Unit.TestCase)
@@ -31,7 +31,7 @@ Test.ContextSpec = JS.Test.describe(JS.Test.Context, function() {
context("when nested", function() {
before("each", function() {
this.context = this.klass.context("and we're testing", function() {
- klass.define("nested", function() {
+ __eigen__().define("nested", function() {
return this.context("should be nested", function() {
define("test_this_thing", function() {
return true

0 comments on commit 9709cad

Please sign in to comment.