<commit_before>'use strict';

/**
 * Module dependencies.
 */
var should = require('should'),
	mongoose = require('mongoose'),
	User = mongoose.model('User');

/**
 * Globals
 */
var user, user2;

/**
 * Unit tests
 */
describe('User Model Unit Tests:', function() {

	describe('Method Save', function() {
		beforeEach(function(done) {
			user = new User({
				fName: 'Full',
				lName: 'Name',
				roles: ["Attendee"],
				displayName: 'Full Name',
				email: '<EMAIL>',
				username: 'username',
				password: 'password',
				salt: '<PASSWORD>',
				provider: 'local',
				login_enabled: false
			});
			user2 = new User({
				fName: 'Full',
				lName: 'Name',
				roles: ["Attendee"],
				displayName: 'Full Name',
				email: '<EMAIL>',
				username: 'username',
				password: 'password',
				salt: '<PASSWORD>',<commit_msg>Fixing assert<commit_after>'use strict';

/**
 * Module dependencies.
 */
var should = require('should'),
	mongoose = require('mongoose'),
	User = mongoose.model('User');

/**
 * Globals
 */
var user, user2;

/**
 * Unit tests
 */
describe('User Model Unit Tests:', function() {

	describe('Method', function() {
		beforeEach(function(done) {
			user = new User({
				fName: 'Full',
				lName: 'Name',
				roles: ["Attendee"],
				displayName: 'Full Name',
				email: '<EMAIL>',
				username: 'username',
				password: 'password',
				salt: '<PASSWORD>',
				provider: 'local',
				login_enabled: false
			});
			user2 = new User({
				fName: 'Full',
				lName: 'Name',
				roles: ["Attendee"],
				displayName: 'Full Name',
				email: '<EMAIL>',
				username: 'username',
				password: 'password',
				salt: '<PASSWORD>',
{'fraction_non_alphanumeric': 0.1879927228623408, 'fraction_numerical': 0.002425712553062462, 'mean_word_length': 3.308093994778068, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 11, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3085907', 'n_tokens_mistral': 674, 'n_tokens_neox': 555, 'n_words': 139}