Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tests problem #10

Open
joaoneto opened this issue Apr 21, 2013 · 0 comments
Open

Tests problem #10

joaoneto opened this issue Apr 21, 2013 · 0 comments

Comments

@joaoneto
Copy link

Hello,

I did a fork and implement a plan to use the glob function (node-glob), which lets you filter with a regular expression the files / folders

But the tests are not passing here in my environment, I am using Mac OS X 10.8.3, node js v0.10.3, mongodb 2.2.0

So I could test, I changed the function "before" test, looked like this:

    before(function(done){
        mongoose.connect(process.env.MONGODB_URL);
        require('./models/country.coffee');
        done();

        // this.mongooseInitializer = new MongooseInitializer(process.env.MONGODB_URL, path.join(__dirname, './models'));

        // var functions = [
        //     this.mongooseInitializer.openConnection,
        //     this.mongooseInitializer.loadModels
        // ];
        // async.series(functions, done);
    });

It seems that the problem here in my environment is that the flow asynchronous this a problem with async.series, but I have not found

thank you
hugs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant