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 fail: missing Mongoid config file #766
Comments
You don't need a config (we configure it manually). But you need to have mongo running. If this does not work at all, feel free to create a config file at test/rails_app/config/mongoid.yml. |
Thanks! I was thrown off by the message about the missing config file. I'd like to add a note to the documentation that MongoDB 1.6 or newer is required to run the tests, but I'm not sure where to put it. Do you think the README is a good place? (I'm wondering because it serves as a home page, and most users won't want to run devise's test suite.) |
(From #770.)
(I'm assuming you're referring to the config file warning here, right?) Yeah -- I guess it'd be nice to suppress it, but so long as the tests run fine, I don't think it's a big deal. The warning followed by an immediate failure just made me assume that it was the cause of the failure. |
And for posterity, it specifically happens in mongoid's lib/mongoid/railtie.rb:
|
Running
bundle install && rake
on HEAD (fb4ec) with Ruby 1.9.2 fails with the following error message:Full output: https://gist.github.com/772968
I couldn't find any info on this in the README or at https://github.com/plataformatec/devise/wiki/Contributing , so I'm lost at this point. Is there anything I have to set up to run the tests, or is there a file missing from the repository (or some other problem with the test suite)?
The text was updated successfully, but these errors were encountered: