Skip to content

Commit 14afa86

Browse files
committed
debug
1 parent f0f0cc0 commit 14afa86

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

Diff for: spec/spec_helper.rb

+2-2
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
end
2222

2323
database_file = SecureRandom.hex
24-
ActiveRecord::Base.configurations = {
24+
ActiveRecord::Base.configurations = debug = {
2525
default_env: {
2626
url: ENV['DATABASE_URL'].presence || "sqlite3://#{Dir.tmpdir}/#{database_file}.sqlite3",
2727
properties: { allowPublicKeyRetrieval: true } # for JRuby madness
@@ -32,7 +32,7 @@
3232
}
3333
}
3434

35-
puts "Testing with #{ActiveRecord::Base.configurations}"
35+
puts "Testing with #{debug}"
3636

3737
# Configure ActiveRecord
3838
ActiveRecord::Migration.verbose = false

Diff for: test/test_helper.rb

+2-2
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
require 'parallel'
99

1010
database_file = SecureRandom.hex
11-
ActiveRecord::Base.configurations = {
11+
ActiveRecord::Base.configurations = debug = {
1212
default_env: {
1313
url: ENV['DATABASE_URL'].presence || "sqlite3://#{Dir.tmpdir}/#{database_file}.sqlite3",
1414
properties: { allowPublicKeyRetrieval: true } # for JRuby madness
@@ -19,7 +19,7 @@
1919
}
2020
}
2121

22-
puts "Testing with #{ActiveRecord::Base.configurations}"
22+
puts "Testing with #{debug}"
2323

2424
ENV['WITH_ADVISORY_LOCK_PREFIX'] ||= SecureRandom.hex
2525

0 commit comments

Comments
 (0)