diff --git a/spec/support/database.rb b/spec/support/database.rb index 9a38ec8..bc2fa66 100644 --- a/spec/support/database.rb +++ b/spec/support/database.rb @@ -4,7 +4,7 @@ ENV['DB'] ||= 'postgres' conn_params = { database: :rating_test, host: '127.0.0.1' } -case ENV.fetch('DB', nil) +case ENV.fetch('DB') when 'mysql' require 'mysql2'