diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2023-02-01 00:07:40 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2023-02-01 00:07:40 +0300 |
commit | 9e83d078577a9c066f21fcef1355f800ad895c9c (patch) | |
tree | 8995c5868449584040e58400ae2bcb9f48346fb3 /spec/initializers | |
parent | 22dde36e800253350e5fa1d902f191a7f64bc6e9 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/initializers')
-rw-r--r-- | spec/initializers/0_postgresql_types_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/initializers/0_postgresql_types_spec.rb b/spec/initializers/0_postgresql_types_spec.rb index 76b243033d0..99f9b76a34e 100644 --- a/spec/initializers/0_postgresql_types_spec.rb +++ b/spec/initializers/0_postgresql_types_spec.rb @@ -3,7 +3,7 @@ require 'spec_helper' RSpec.describe 'PostgreSQL registered types' do - subject(:types) { ApplicationRecord.connection.send(:type_map).keys } + subject(:types) { ApplicationRecord.connection.reload_type_map.keys } # These can be obtained via SELECT oid, typname from pg_type it 'includes custom and standard OIDs' do |