Permalink
Browse files

Lose setUp quotation marks.

  • Loading branch information...
1 parent f80749e commit 05c7b3b524bf88ebaafd8506633465fbdfd74f67 @cliffano committed Jan 20, 2013
Showing with 20 additions and 20 deletions.
  1. +11 −11 test/cli.js
  2. +7 −7 test/irc.js
  3. +2 −2 test/jenkins.js
View
@@ -25,7 +25,7 @@ buster.testCase('cli - exec', {
});
buster.testCase('cli - build', {
- 'setUp': function () {
+ setUp: function () {
this.mockConsole = this.mock(console);
this.mockProcess = this.mock(process);
},
@@ -119,7 +119,7 @@ buster.testCase('cli - build', {
});
buster.testCase('cli - console', {
- 'setUp': function () {
+ setUp: function () {
this.mockConsole = this.mock(console);
this.mockProcess = this.mock(process);
this.stub(bag, 'cli', {
@@ -149,7 +149,7 @@ buster.testCase('cli - console', {
});
buster.testCase('cli - stop', {
- 'setUp': function () {
+ setUp: function () {
this.mockConsole = this.mock(console);
this.mockProcess = this.mock(process);
this.stub(bag, 'cli', {
@@ -180,7 +180,7 @@ buster.testCase('cli - stop', {
});
buster.testCase('cli - dashboard', {
- 'setUp': function () {
+ setUp: function () {
this.mockConsole = this.mock(console);
this.mockProcess = this.mock(process);
this.stub(bag, 'cli', {
@@ -213,7 +213,7 @@ buster.testCase('cli - dashboard', {
});
buster.testCase('cli - discover', {
- 'setUp': function () {
+ setUp: function () {
this.mockConsole = this.mock(console);
this.mockProcess = this.mock(process);
},
@@ -285,7 +285,7 @@ buster.testCase('cli - discover', {
});
buster.testCase('cli - executor', {
- 'setUp': function () {
+ setUp: function () {
this.mockConsole = this.mock(console);
this.mockProcess = this.mock(process);
this.stub(bag, 'cli', {
@@ -328,7 +328,7 @@ buster.testCase('cli - executor', {
});
buster.testCase('cli - job', {
- 'setUp': function () {
+ setUp: function () {
this.mockConsole = this.mock(console);
this.mockProcess = this.mock(process);
this.stub(bag, 'cli', {
@@ -364,7 +364,7 @@ buster.testCase('cli - job', {
});
buster.testCase('cli - queue', {
- 'setUp': function () {
+ setUp: function () {
this.mockConsole = this.mock(console);
this.mockProcess = this.mock(process);
this.stub(bag, 'cli', {
@@ -394,7 +394,7 @@ buster.testCase('cli - queue', {
});
buster.testCase('cli - ver', {
- 'setUp': function () {
+ setUp: function () {
this.mockConsole = this.mock(console);
this.mockProcess = this.mock(process);
this.stub(bag, 'cli', {
@@ -423,7 +423,7 @@ buster.testCase('cli - ver', {
});
buster.testCase('cli - irc', {
- 'setUp': function () {
+ setUp: function () {
this.mockIrc = this.mock(irc);
},
'should start irc bot with undefined nick when irc command is called with host and channel args only': function () {
@@ -447,4 +447,4 @@ buster.testCase('cli - irc', {
});
cli.exec();
}
-});
+});
View
@@ -45,7 +45,7 @@ buster.testCase('irc - build', {
});
buster.testCase('irc - stop', {
- 'setUp': function () {
+ setUp: function () {
this.stub(bag.irc.Bot.prototype, 'connect', function (host, channel, opts) {
assert.equals(host, 'somehost');
assert.equals(channel, 'somechannel');
@@ -68,7 +68,7 @@ buster.testCase('irc - stop', {
});
buster.testCase('irc - dashboard', {
- 'setUp': function () {
+ setUp: function () {
this.stub(bag.irc.Bot.prototype, 'connect', function (host, channel, opts) {
assert.equals(host, 'somehost');
assert.equals(channel, 'somechannel');
@@ -191,7 +191,7 @@ buster.testCase('irc - discover', {
});
buster.testCase('irc - executor', {
- 'setUp': function () {
+ setUp: function () {
this.stub(bag.irc.Bot.prototype, 'connect', function (host, channel, opts) {
assert.equals(host, 'somehost');
assert.equals(channel, 'somechannel');
@@ -249,7 +249,7 @@ buster.testCase('irc - executor', {
});
buster.testCase('irc - job', {
- 'setUp': function () {
+ setUp: function () {
this.stub(bag.irc.Bot.prototype, 'connect', function (host, channel, opts) {
assert.equals(host, 'somehost');
assert.equals(channel, 'somechannel');
@@ -284,7 +284,7 @@ buster.testCase('irc - job', {
});
buster.testCase('irc - queue', {
- 'setUp': function () {
+ setUp: function () {
this.stub(bag.irc.Bot.prototype, 'connect', function (host, channel, opts) {
assert.equals(host, 'somehost');
assert.equals(channel, 'somechannel');
@@ -322,7 +322,7 @@ buster.testCase('irc - queue', {
});
buster.testCase('irc - ver', {
- 'setUp': function () {
+ setUp: function () {
this.stub(bag.irc.Bot.prototype, 'connect', function (host, channel, opts) {
assert.equals(host, 'somehost');
assert.equals(channel, 'somechannel');
@@ -341,4 +341,4 @@ buster.testCase('irc - ver', {
});
irc.start('somehost', 'somechannel', 'somenick');
}
-});
+});
View
@@ -134,7 +134,7 @@ buster.testCase('jenkins - build', {
});
buster.testCase('jenkins - console', {
- 'setUp': function () {
+ setUp: function () {
this.mockConsole = this.mock(console);
},
'should pass error not found when job does not exist': function (done) {
@@ -651,4 +651,4 @@ buster.testCase('jenkins - _status', {
var jenkins = new Jenkins();
assert.equals(jenkins._status('unknown'), 'UNKNOWN'.grey);
}
-});
+});

0 comments on commit 05c7b3b

Please sign in to comment.