rake test now obeys fdescribe and fit.

This commit is contained in:
Corey Johnson 2012-10-09 17:20:47 -07:00
parent 701631e7cb
commit 7b4e798a4d

View File

@ -43,5 +43,9 @@ jasmine.ConsoleReporter.prototype.reportSpecResults = function(spec) {
};
jasmine.ConsoleReporter.prototype.specFilter = function(spec) {
return true;
if (!jasmine.getEnv().focusPriority) {
return true;
}
return fSpecFilter(spec);
};