Skip to content
Snippets Groups Projects
Commit 44c39580 authored by Luke "Jared" Bennett's avatar Luke "Jared" Bennett
Browse files

Cast ENV['RSPEC_PROFILING_POSTGRES_URL'] to symbol in establish_connection...

Cast ENV['RSPEC_PROFILING_POSTGRES_URL'] to symbol in establish_connection call of rspec_profiling.rb

Former-commit-id: e6f008bb
parent f5073646
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