summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorLuke "Jared" Bennett <lbennett@gitlab.com>2017-05-07 15:34:27 +0000
committerLuke "Jared" Bennett <lbennett@gitlab.com>2017-05-07 15:34:27 +0000
commite6f008bb84754de3c0d70cce611aa6a30dba0c43 (patch)
tree2f76d13a8bb9048d483d448da5f7ba92afd053d4 /config
parent6ad3814e1b31bfacfae7a2aabb4e4607b12ca66f (diff)
downloadgitlab-ce-e6f008bb84754de3c0d70cce611aa6a30dba0c43.tar.gz
Cast ENV['RSPEC_PROFILING_POSTGRES_URL'] to symbol in establish_connection call of rspec_profiling.rbfix-rspec_profiling-establish_connection-string-deprecation
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