-
-
Notifications
You must be signed in to change notification settings - Fork 1k
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
undefined method `get' for #<RSpec::ExampleGroups:: #1633
Comments
Please just require rspec-rails as |
@JonRowe Thanks for the immediate reply. I tried that too. when I require respec-rails it causes another error Failure/Error: raise ConnectionNotEstablished, "No connection pool for #{klass}" unless pool |
Yep, this is a misconfiguration issue on your end, you need to ensure mongoid is loaded before rspec-rails so it doesn't try to use ActiveRecord. |
Make sure you can do |
For us to help any further you'll have to provide backtraces (via |
While testing my controllers I came across this issue. I am using rspec-rails-3.4.2, rails-4.2.0 and mongodb. Here is my rails_helper.rb
The text was updated successfully, but these errors were encountered: