rename *node to *console

This commit is contained in:
Steve Conover 2011-02-28 18:02:44 -08:00
parent a1f58f8be4
commit e42026ee84
3 changed files with 5 additions and 5 deletions

View File

@ -29,7 +29,7 @@
<script type="text/javascript" src="../src/WaitsForBlock.js"></script> <script type="text/javascript" src="../src/WaitsForBlock.js"></script>
<script type="text/javascript" src="../src/html/TrivialReporter.js"></script> <script type="text/javascript" src="../src/html/TrivialReporter.js"></script>
<script type="text/javascript" src="../src/node/TrivialNodeReporter.js"></script> <script type="text/javascript" src="../src/console/TrivialConsoleReporter.js"></script>
@ -51,7 +51,7 @@
<script type="text/javascript" src="suites/SpySpec.js"></script> <script type="text/javascript" src="suites/SpySpec.js"></script>
<script type="text/javascript" src="suites/SuiteSpec.js"></script> <script type="text/javascript" src="suites/SuiteSpec.js"></script>
<script type="text/javascript" src="suites/TrivialReporterSpec.js"></script> <script type="text/javascript" src="suites/TrivialReporterSpec.js"></script>
<script type="text/javascript" src="suites/TrivialNodeReporterSpec.js"></script> <script type="text/javascript" src="suites/TrivialConsoleReporterSpec.js"></script>
<script type="text/javascript" src="suites/WaitsForBlockSpec.js"></script> <script type="text/javascript" src="suites/WaitsForBlockSpec.js"></script>

View File

@ -1,4 +1,4 @@
describe("TrivialNodeReporter", function() { describe("TrivialConsoleReporter", function() {
//keep these literal. otherwise the test loses value as a test. //keep these literal. otherwise the test loses value as a test.
@ -47,7 +47,7 @@ describe("TrivialNodeReporter", function() {
}; };
})(); })();
this.reporter = new jasmine.TrivialNodeReporter(this.out.print); this.reporter = new jasmine.TrivialConsoleReporter(this.out.print);
}); });

View File

@ -1,4 +1,4 @@
jasmine.TrivialNodeReporter = function(print) { jasmine.TrivialConsoleReporter = function(print) {
var ansi = { var ansi = {
green: '\033[32m', green: '\033[32m',