Skip to content
Snippets Groups Projects
Commit 58d1cd6b authored by Stan Hu's avatar Stan Hu
Browse files

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
parents 55273423 e6f008bb
No related branches found
No related tags found
No related merge requests found
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
 
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment