We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Looks like database_cleaner is not compatible with the newest beta version of mongoid
undefined method `remove_all' for #<Mongo::Collection::View:0x00000006771220> (NoMethodError) /home/ubuntu/myapp/vendor/bundle/ruby/2.2.0/gems/database_cleaner-1.4.1/lib/database_cleaner/moped/truncation_base.rb:14:in `block in clean' /home/ubuntu/myapp/vendor/bundle/ruby/2.2.0/gems/database_cleaner-1.4.1/lib/database_cleaner/moped/truncation_base.rb:14:in `each' /home/ubuntu/myapp/vendor/bundle/ruby/2.2.0/gems/database_cleaner-1.4.1/lib/database_cleaner/moped/truncation_base.rb:14:in `clean' /home/ubuntu/myapp/vendor/bundle/ruby/2.2.0/gems/database_cleaner-1.4.1/lib/database_cleaner/base.rb:86:in `clean' /home/ubuntu/myapp/vendor/bundle/ruby/2.2.0/gems/database_cleaner-1.4.1/lib/database_cleaner/configuration.rb:79:in `block in clean' /home/ubuntu/myapp/vendor/bundle/ruby/2.2.0/gems/database_cleaner-1.4.1/lib/database_cleaner/configuration.rb:79:in `each' /home/ubuntu/myapp/vendor/bundle/ruby/2.2.0/gems/database_cleaner-1.4.1/lib/database_cleaner/configuration.rb:79:in `clean' /home/ubuntu/myapp/vendor/bundle/ruby/2.2.0/gems/cucumber-rails-1.4.2/lib/cucumber/rails/hooks/database_cleaner.rb:9:in `After'
The text was updated successfully, but these errors were encountered:
This is solved with DatabaseCleaner/database_cleaner#385
Sorry, something went wrong.
No branches or pull requests
Looks like database_cleaner is not compatible with the newest beta version of mongoid
The text was updated successfully, but these errors were encountered: