<commit_before>// var request = require('supertest');
// var should = require('should');
var fixtures = require('./../../fixtures/instances.json');

describe('User model', function () {
    it('should create user instance', function (done) {
        User.create(fixtures.user).then(function (user) {
            user.should.be.type('object');
            user.should.have.property('name', fixtures.user.name);
            user.should.have.property('id');

            fixtures.user = user;

            done();
        }).catch(function (err) {
            done(err);
        });
    });
});

describe('Image model', function () {
    it('should create image instance', function (done) {
        Image.create(fixtures.image).then(function (image) {
            image.should.be.type('object');
            image.should.have.property('url', fixtures.image.url);
            image.should.have.property('id');

            fixtures.image = image;
            done();
        }).catch(function (err) {<commit_msg>Readded should package to tests<commit_after>// var request = require('supertest');
var should = require('should');
var fixtures = require('./../../fixtures/instances.json');

describe('User model', function () {
    it('should create user instance', function (done) {
        User.create(fixtures.user).then(function (user) {
            user.should.be.type('object');
            user.should.have.property('name', fixtures.user.name);
            user.should.have.property('id');

            fixtures.user = user;

            done();
        }).catch(function (err) {
            done(err);
        });
    });
});

describe('Image model', function () {
    it('should create image instance', function (done) {
        Image.create(fixtures.image).then(function (image) {
            image.should.be.type('object');
            image.should.have.property('url', fixtures.image.url);
            image.should.have.property('id');

            fixtures.image = image;
            done();
        }).catch(function (err) {
{'fraction_non_alphanumeric': 0.16937469226981783, 'fraction_numerical': 0.0, 'mean_word_length': 2.3311475409836064, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '4605966', 'n_tokens_mistral': 559, 'n_tokens_neox': 542, 'n_words': 106}