index.js
function(folder) {
		var files, 
				modelName;

		folder = folder || process.cwd() + '/test/fixtures';
		files = fs.readdirSync(folder);

		for (var i = 0; i < files.length; i++) {
			if (getFileExtension(files[i]) === '.json')	{
				modelName = fileToModelName(files[i]);
				this.objects[modelName] = require(path.join(folder, files[i]));
			}
		}

		return this;
	}
function(folder) {
		var files, 
				modelName;

		folder = folder || process.cwd() + '/test/fixtures';
		files = fs.readdirSync(folder);

		for (var i = 0; i < files.length; i++) {
			if (getFileExtension(files[i]) === '.json')	{
				modelName = fileToModelName(files[i]);
				this.objects[modelName] = require(path.join(folder, files[i]));
			}
		}

		return this;
	}
function ( folder ) { var files , modelName ; folder = folder || process . cwd ( ) + '/test/fixtures' ; files = fs . readdirSync ( folder ) ; for ( var i = 0 ; i < files . length ; i ++ ) { if ( getFileExtension ( files [ i ] ) === '.json' ) { modelName = fileToModelName ( files [ i ] ) ; this . objects [ modelName ] = require ( path . join ( folder , files [ i ] ) ) ; } } return this ; }
Read fixtures from JSON files into `objects`
@param  {String} [folder='<project_root>/test/fixtures'] path to fixtures
@return {Object} this module, where the objects member is holding loaded fixtures
Read fixtures from JSON files into objects