Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Renamed as tobi

  • Loading branch information...
commit 7c7c70c8aaed111f919c5ca5caf0b5f85abeab0a 1 parent 041d2ca
@tj tj authored
View
2  index.js
@@ -1,2 +1,2 @@
-module.exports = require('./lib');
+module.exports = require('./lib/tobi');
View
2  lib/browser.js
@@ -1,6 +1,6 @@
/*!
- * Chrono - Browser
+ * Tobi - Browser
* Copyright(c) 2010 LearnBoost <dev@learnboost.com>
* MIT Licensed
*/
View
2  lib/chrono.js → lib/tobi.js
@@ -1,6 +1,6 @@
/*!
- * Chrono
+ * Tobi
* Copyright(c) 2010 LearnBoost <dev@learnboost.com>
* MIT Licensed
*/
View
10 test/browser.test.js
@@ -3,9 +3,9 @@
* Module dependencies.
*/
-var chrono = require('chrono')
+var tobi = require('tobi')
, express = require('express')
- , Browser = chrono.Browser
+ , Browser = tobi.Browser
, should = require('should');
// Test app
@@ -31,17 +31,17 @@ module.exports = {
'test .createBrowser(str)': function(){
var html = '<ul><li>one</li><li>two</li></ul>'
- , browser = chrono.createBrowser(html);
+ , browser = tobi.createBrowser(html);
browser.should.have.property('source', html);
},
'test .createBrowser(server)': function(){
- var browser = chrono.createBrowser(app);
+ var browser = tobi.createBrowser(app);
browser.should.have.property('server', app);
},
'test .request(method, url)': function(){
- var browser = chrono.createBrowser(app);
+ var browser = tobi.createBrowser(app);
browser.request('GET', '/', function(){
browser.should.have.property('path', '/');
browser.history.should.eql(['/']);
View
4 test/chrono.test.js → test/tobi.test.js
@@ -3,11 +3,11 @@
* Module dependencies.
*/
-var chrono = require('chrono')
+var tobi = require('tobi')
, should = require('should');
module.exports = {
'test .version': function(){
- chrono.version.should.match(/^\d+\.\d+\.\d+$/);
+ tobi.version.should.match(/^\d+\.\d+\.\d+$/);
}
};
Please sign in to comment.
Something went wrong with that request. Please try again.