diff --git a/spec/integration_spec.rb b/spec/integration_spec.rb index 56ba46a..ae9d896 100644 --- a/spec/integration_spec.rb +++ b/spec/integration_spec.rb @@ -71,7 +71,8 @@ class Comment < ActiveRecord::Base; end host: db_config['hostname'], username: db_config['username'], password: db_config['password'], - database: db_config['database'] + database: db_config['database'], + ssl_mode: "required" ) end @@ -88,7 +89,8 @@ class Comment < ActiveRecord::Base; end original_adapter: db_config['original_adapter'], host: db_config['hostname'], password: db_config['password'], - database: db_config['database'] + database: db_config['database'], + ssl_mode: "required" ) end diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index 56c0f3a..21b167f 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -32,7 +32,8 @@ host: db_config['hostname'], username: db_config['username'], password: db_config['password'], - database: db_config['database'] + database: db_config['database'], + ssl_mode: "required" ) MIGRATION_FIXTURES = File.expand_path('../fixtures/migrate/', __FILE__)