Skip to content

Commit

Permalink
||= dotenv
Browse files Browse the repository at this point in the history
  • Loading branch information
jonatas committed Jul 9, 2024
1 parent 5bdfc65 commit 836305a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/spec_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
require_relative "support/active_record/models"
require_relative "support/active_record/schema"

Dotenv.load!
ENV['PG_URI_TEST'] || Dotenv.load!

ActiveRecord::Base.establish_connection(ENV['PG_URI_TEST'])
Timescaledb.establish_connection(ENV['PG_URI_TEST'])
Expand Down

0 comments on commit 836305a

Please sign in to comment.