summaryrefslogtreecommitdiff
path: root/config/initializers/rspec_profiling.rb
diff options
context:
space:
mode:
authorStan Hu <stanhu@gmail.com>2017-05-07 22:36:55 +0000
committerStan Hu <stanhu@gmail.com>2017-05-07 22:36:55 +0000
commitf7cf2a7be6908ff577432a8c6b520a71361d4860 (patch)
tree9e99157f4ccdd5fd732e3a9643971591eff0747e /config/initializers/rspec_profiling.rb
parent66b225d49fb9dcaa78a25d44b7af44c4c92095c7 (diff)
parente08130223cfc48a6e662a87d32c3026088161de2 (diff)
downloadgitlab-ce-f7cf2a7be6908ff577432a8c6b520a71361d4860.tar.gz
Merge branch 'revert-58d1cd6b' into 'master'
Revert "Merge branch 'fix-rspec_profiling-establish_connection-string-deprecation' into 'master'" See merge request !11153
Diffstat (limited to 'config/initializers/rspec_profiling.rb')
-rw-r--r--config/initializers/rspec_profiling.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/initializers/rspec_profiling.rb b/config/initializers/rspec_profiling.rb
index b8ad3b1e51c..a7efd74f09e 100644
--- a/config/initializers/rspec_profiling.rb
+++ b/config/initializers/rspec_profiling.rb
@@ -1,7 +1,7 @@
module RspecProfilingExt
module PSQL
def establish_connection
- ::RspecProfiling::Collectors::PSQL::Result.establish_connection(ENV['RSPEC_PROFILING_POSTGRES_URL'].to_sym)
+ ::RspecProfiling::Collectors::PSQL::Result.establish_connection(ENV['RSPEC_PROFILING_POSTGRES_URL'])
end
end