summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorStan Hu <stanhu@gmail.com>2017-05-07 22:05:15 +0000
committerStan Hu <stanhu@gmail.com>2017-05-07 22:05:15 +0000
commit58d1cd6beb02c7dd41aabab81aa7e2d84b7725b7 (patch)
tree84a8420bfb134a571f80d473fcf6209030e1805a /config
parent5527342330ab72c6e9061f1736c953208c508823 (diff)
parente6f008bb84754de3c0d70cce611aa6a30dba0c43 (diff)
downloadgitlab-ce-58d1cd6beb02c7dd41aabab81aa7e2d84b7725b7.tar.gz
Merge branch 'fix-rspec_profiling-establish_connection-string-deprecation' into 'master'
Cast ENV['RSPEC_PROFILING_POSTGRES_URL'] to symbol in establish_connection call … See merge request !11150
Diffstat (limited to 'config')
-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 a7efd74f09e..b8ad3b1e51c 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'])
+ ::RspecProfiling::Collectors::PSQL::Result.establish_connection(ENV['RSPEC_PROFILING_POSTGRES_URL'].to_sym)
end
end