Skip to content

Commit

Permalink
init -> initialize (since we are already breaking backward compatibil…
Browse files Browse the repository at this point in the history
…ity).
  • Loading branch information
Kami committed Dec 11, 2012
1 parent 04aee1a commit a81224b
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion example/init-test.js
Expand Up @@ -20,7 +20,7 @@ var fs = require('fs');

var dirPath = path.join(process.cwd(), 'example/test-123456');

exports['init'] = function(callback) {
exports['initialize'] = function(callback) {
fs.rmdir(dirPath, function(err) {
callback();
});
Expand Down
2 changes: 1 addition & 1 deletion example/init-timeout.js
Expand Up @@ -15,5 +15,5 @@
* limitations under the License.
*/

exports['init'] = function(callback) {
exports['initialize'] = function(callback) {
};
2 changes: 1 addition & 1 deletion example/init.js
Expand Up @@ -20,7 +20,7 @@ var fs = require('fs');

var dirPath = path.join(process.cwd(), 'example/test-123456');

exports['init'] = function(callback) {
exports['initialize'] = function(callback) {
fs.mkdir(dirPath, 0655, function(err) {
callback();
});
Expand Down
2 changes: 1 addition & 1 deletion lib/constants.js
Expand Up @@ -49,7 +49,7 @@ var DEFAULT_VERBOSITY = 2;
var TEST_FILE_INITIALIZE_FUNCTION_NAME = 'initialize';
var TEST_FILE_FINALIZE_FUNCTION_NAME = 'finalize';

var INIT_FUNCTION_NAME = 'init';
var INIT_FUNCTION_NAME = 'initialize';

var TEARDOWN_FUNCTION_NAME = 'tearDown';

Expand Down

0 comments on commit a81224b

Please sign in to comment.