{"size": 444, "ext": "js", "max_stars_repo_path": "test/factory/weets.js", "max_stars_repo_name": "wolox-training/kb-express-js", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "test/factory/weets.js", "max_issues_repo_name": "wolox-training/kb-express-js", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "test/factory/weets.js", "max_forks_repo_name": "wolox-training/kb-express-js", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 31.7142857143, "max_line_length": 75, "alphanum_fraction": 0.6509009009}
const { factory } = require('factory-girl');
const faker = require('faker');
const { Weet } = require('../../app/models');

factory.define('Weet', Weet, {
  content: faker.lorem.words()
});
module.exports = {
  create: params => factory.create('Weet', params),
  createMany: (num = 5, params) => factory.createMany('Weet', num, params),
  build: params => factory.build('Weet', params),
  attributes: params => factory.attrs('Weet', params)
};
