mirror of
https://github.com/internetee/registry.git
synced 2025-07-05 18:53:26 +02:00
Merge branch 'rspec' into remove-unused-db-connection
This commit is contained in:
commit
23858de702
1 changed files with 1 additions and 1 deletions
|
@ -1,5 +1,5 @@
|
|||
RSpec.configure do |config|
|
||||
db_connection_names = ActiveRecord::Base.configurations.keys.grep(/test/).map(&:to_sym)
|
||||
db_connection_names = ActiveRecord::Base.configurations.keys.grep(/test/).map(&:to_sym).reverse
|
||||
|
||||
config.before :suite do
|
||||
DatabaseCleaner.strategy = :truncation
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue