Is DatabaseCleaner still necessary with Rails system specs?

You do not need the DatabaseCleaner gem. Here’s a quick summary of steps you need: Remove capybara-selenium gem and database_cleaner gem Add selenium-webdriver gem Make sure you are using Rails 5.1.5 or later. Earlier versions of Rails 5.1 had a defect in ActionDispatch::SystemTesting::Server that caused problems (fixed here). In your rails_helper file, set config.use_transactional_fixtures = … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)