Fix tests
This commit is contained in:
@ -1,6 +1,6 @@
|
||||
default: &default
|
||||
adapter: postgresql
|
||||
pool: 15
|
||||
pool: 17
|
||||
timeout: 5000
|
||||
encoding: unicode
|
||||
|
||||
|
@ -1,2 +1,4 @@
|
||||
Rails.application.middleware.swap(Rack::Deflater, Rack::MiniProfiler)
|
||||
Rails.application.middleware.swap(Rack::MiniProfiler, Rack::Deflater)
|
||||
unless Rails.env == 'test'
|
||||
Rails.application.middleware.swap(Rack::Deflater, Rack::MiniProfiler)
|
||||
Rails.application.middleware.swap(Rack::MiniProfiler, Rack::Deflater)
|
||||
end
|
||||
|
Reference in New Issue
Block a user