Skip to content

Commit

Permalink
Lose setUp quotation marks.
Browse files Browse the repository at this point in the history
  • Loading branch information
cliffano committed Jan 20, 2013
1 parent f80749e commit 05c7b3b
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 20 deletions.
22 changes: 11 additions & 11 deletions test/cli.js
Expand Up @@ -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);
},
Expand Down Expand Up @@ -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', {
Expand Down Expand Up @@ -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', {
Expand Down Expand Up @@ -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', {
Expand Down Expand Up @@ -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);
},
Expand Down Expand Up @@ -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', {
Expand Down Expand Up @@ -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', {
Expand Down Expand Up @@ -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', {
Expand Down Expand Up @@ -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', {
Expand Down Expand Up @@ -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 () {
Expand All @@ -447,4 +447,4 @@ buster.testCase('cli - irc', {
});
cli.exec();
}
});
});
14 changes: 7 additions & 7 deletions test/irc.js
Expand Up @@ -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');
Expand All @@ -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');
Expand Down Expand Up @@ -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');
Expand Down Expand Up @@ -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');
Expand Down Expand Up @@ -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');
Expand Down Expand Up @@ -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');
Expand All @@ -341,4 +341,4 @@ buster.testCase('irc - ver', {
});
irc.start('somehost', 'somechannel', 'somenick');
}
});
});
4 changes: 2 additions & 2 deletions test/jenkins.js
Expand Up @@ -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) {
Expand Down Expand Up @@ -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.