Skip to content

Commit

Permalink
add missing support schema to the search path
Browse files Browse the repository at this point in the history
  • Loading branch information
akabishau committed Jun 14, 2024
1 parent 137637e commit 303ad1f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions spec/models/background_job/db_query_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
RSpec.describe BackgroundJob::DbQuery, type: :model do
before do
stub_request(:put, /https:\/\/aact-dev.nyc3.digitaloceanspaces.com\/.*/).to_return(:status => 200, :body => '', :headers => {})
# TODO: Review based on transition ctgov -> ctgov_v2 approach
ActiveRecord::Base.connection.schema_search_path = 'ctgov, support, public'
end

context '#process' do
Expand Down

0 comments on commit 303ad1f

Please sign in to comment.