spec: on the top we already make sure it exists
parent
9691ba81a0
commit
3e251e00bb
|
@ -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'
|
||||
|
||||
|
|
Loading…
Reference in New Issue