Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in database-cleaner

rspec with mongoid, devise, database_cleaner : ActiveRecord::ConnectionNotEstablished error

DatabaseCleaner raising NoMethodError: undefined method `rollback' for nil:NilClass

Foreign Key constraint issues using sequel and database cleaner

PG::ConnectionBad: connection is closed after upgrading rails from 4.2 to 5.2

Rails Rspec Capybara and DatabaseCleaner - using truncation only on feature tests

database_cleaner is wiping my development database

DatabaseCleaner.clean_with(:truncate) does not reset auto incremented id

how to clean database before running the each spec file?

Rspec extremely slow

custom transaction doesn't work with database_cleaner in rspec

Rspec - How to clean the database after each test

Upgrading capybara from 1.0.1 to 1.1.4 makes database_cleaner break my specs

Database Cleaner not working in minitest rails

How can I clean my database between erroneous rspec specs?

Database Cleaner issue with Capybara webkit

Cleaning database after tests in node.js

Running integration/acceptance tests on the frontend. Need an API for the frontend to tell Rails which database state to set up for each test

DatabaseCleaner + RSpec : what is the correct configuration?

Is DatabaseCleaner still necessary with Rails system specs?