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
This commit is contained in:
Stan Hu 2017-05-07 22:05:15 +00:00
commit 58d1cd6beb
1 changed files with 1 additions and 1 deletions

View File

@ -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