diff options
Diffstat (limited to 'spec/lib/gitlab/database/schema_cleaner_spec.rb')
-rw-r--r-- | spec/lib/gitlab/database/schema_cleaner_spec.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/lib/gitlab/database/schema_cleaner_spec.rb b/spec/lib/gitlab/database/schema_cleaner_spec.rb index 1303ad7a311..950759c7f96 100644 --- a/spec/lib/gitlab/database/schema_cleaner_spec.rb +++ b/spec/lib/gitlab/database/schema_cleaner_spec.rb @@ -15,8 +15,8 @@ RSpec.describe Gitlab::Database::SchemaCleaner do expect(subject).not_to include('COMMENT ON EXTENSION') end - it 'sets the search_path' do - expect(subject.split("\n").first).to eq('SET search_path=public;') + it 'no assumption about public being the default schema' do + expect(subject).not_to match(/public\.\w+/) end it 'cleans up the full schema as expected (blackbox test with example)' do |