Permalink
Browse files

Re-brand as "soda"

  • Loading branch information...
1 parent 11f2351 commit 6984849c3127848b87228c67b1b8f2697212aa4d @tj tj committed Sep 3, 2010
View
@@ -3,9 +3,9 @@
* Module dependencies.
*/
-var selenium = require('../index');
+var soda = require('../index');
-var browser = selenium.createClient({
+var browser = soda.createClient({
host: 'localhost',
port: 4444,
url: 'http://www.google.com',
View
@@ -1,2 +1,2 @@
-module.exports = require('./lib/selenium');
+module.exports = require('./lib/soda');
@@ -1,7 +1,7 @@
/*!
- * Selenium
- * Copyright(c) 2010 LearnBoost (TJ Holowaychuk) <tj@learnboost.com>
+ * Soda - Client
+ * Copyright(c) 2010 LearnBoost <tj@learnboost.com>
* MIT Licensed
*/
@@ -1,7 +1,7 @@
/*!
- * Selenium
- * Copyright(c) 2010 LearnBoost (TJ Holowaychuk) <tj@learnboost.com>
+ * Soda
+ * Copyright(c) 2010 LearnBoost <tj@learnboost.com>
* MIT Licensed
*/
View
@@ -3,12 +3,11 @@
* Module dependencies.
*/
-var selenium = require('selenium'),
- Client = selenium.Client;
+var soda = require('soda');
module.exports = {
'test .createClient() defaults': function(assert){
- var client = selenium.createClient({
+ var client = soda.createClient({
browser: '*firefox',
url: 'http://www.google.com'
});
@@ -3,10 +3,10 @@
* Module dependencies.
*/
-var selenium = require('selenium');
+var soda = require('soda');
module.exports = {
'test .version': function(assert){
- assert.match(selenium.version, /^\d+\.\d+\.\d+$/);
+ assert.match(soda.version, /^\d+\.\d+\.\d+$/);
}
};

0 comments on commit 6984849

Please sign in to comment.