var fileTests = require('./file_old').fileTests;
var helpers = require('../helpers');

describe('File', function () {
    before(function(done) { helpers.create_user(done); });
    after(function(done) { helpers.delete_user(done); });

    before(function(done) {
        helpers.create_file(function (err) {
            return done(err);
        });
    });

    after(function(done) {
        helpers.delete_file(done);
    });

    fileTests();
});

var fileTests = require('./file_old').fileTests;
var fileUpdate = require('./update');
var helpers = require('../helpers');

describe('File', function () {
    before(function(done) { helpers.create_user(done); });
    after(function(done) { helpers.delete_user(done); });

    before(function(done) {
        helpers.create_file(function (err) {
            return done(err);
        });
    });

    after(function(done) {
        helpers.delete_file(done);
    });

    fileTests();
    fileUpdate();
});

Add call file update in file core test.
Add call file update in file core test.
