Skip to content

Commit

Permalink
Set ssl_mode for trilogy
Browse files Browse the repository at this point in the history
  • Loading branch information
xjunior committed Jul 23, 2024
1 parent c58693b commit c8958f0
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
6 changes: 4 additions & 2 deletions spec/integration_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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

Expand Down
3 changes: 2 additions & 1 deletion spec/spec_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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__)
Expand Down

0 comments on commit c8958f0

Please sign in to comment.