nightwatchci
Version:
Simple nightwatch Continuous Integration tool
15 lines (12 loc) • 380 B
text/coffeescript
rosie = require 'rosie'
faker = require 'faker'
Factory = rosie.Factory
Factory
.define 'user'
.attr 'firstname', -> faker.name.firstName()
.attr 'lastname', -> faker.name.lastName()
.attr 'username', -> faker.internet.userName()
.attr 'email', -> faker.internet.email()
.attr 'password', -> faker.internet.password()
.attr 'admin', false
module.exports = Factory