Skip to content

Commit

Permalink
puts config in spec_helper to debug
Browse files Browse the repository at this point in the history
  • Loading branch information
argvniyx-enroute committed Mar 21, 2024
1 parent 22d79e5 commit 557d831
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions spec/spec_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
require File.expand_path("dummy/config/environment.rb", __dir__)

Rails.configuration.database_configuration[db_adapter][rails_env].tap do |c|
puts c
ActiveRecord::Tasks::DatabaseTasks.create(c)
ActiveRecord::Base.establish_connection(c)
load File.expand_path("dummy/db/schema.rb", __dir__)
Expand Down

0 comments on commit 557d831

Please sign in to comment.