Skip to content

Commit

Permalink
Fix database connection on tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Carlos Silva committed Mar 31, 2022
1 parent 4b21c2d commit dbdc4cd
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,7 @@ jobs:
- image: cimg/ruby:<< parameters.ruby-version >>
- image: circleci/postgres:12.9
environment:
POSTGRES_USER: torque
POSTGRES_PASSWORD: torque
POSTGRES_USER: postgres
POSTGRES_DB: torque_postgresql

steps:
Expand All @@ -27,6 +26,8 @@ jobs:
- run:
command: 'bundle exec --gemfile gemfiles/<< parameters.bundle-version >> rspec'
name: Run Tests
environment:
DATABASE_URL: 'postgresql://postgres@localhost/torque_postgresql'

references:
matrix_build: &matrix_build
Expand Down

0 comments on commit dbdc4cd

Please sign in to comment.