diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2023-07-13 15:08:43 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2023-07-13 15:08:43 +0300 |
commit | da104bbfec951988c5da3aa495091a31b7312aac (patch) | |
tree | 0ce97aec5ec46464192f5bcc4a225393ee36a0b6 /spec/tasks | |
parent | a4772171f93e06dcc4bbc78a3577b1faa7dd1f50 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/tasks')
-rw-r--r-- | spec/tasks/gitlab/db_rake_spec.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/spec/tasks/gitlab/db_rake_spec.rb b/spec/tasks/gitlab/db_rake_spec.rb index 9e519b5d012..11c541ddfed 100644 --- a/spec/tasks/gitlab/db_rake_spec.rb +++ b/spec/tasks/gitlab/db_rake_spec.rb @@ -353,8 +353,8 @@ RSpec.describe 'gitlab:db namespace rake task', :silence_stdout, feature_categor end describe 'schema inconsistencies' do - let(:runner) { instance_double(Gitlab::Database::SchemaValidation::Runner, execute: inconsistencies) } - let(:inconsistency_class) { Gitlab::Database::SchemaValidation::Inconsistency } + let(:runner) { instance_double(Gitlab::Schema::Validation::Runner, execute: inconsistencies) } + let(:inconsistency_class) { Gitlab::Schema::Validation::Inconsistency } let(:inconsistencies) do [ @@ -375,7 +375,7 @@ RSpec.describe 'gitlab:db namespace rake task', :silence_stdout, feature_categor end before do - allow(Gitlab::Database::SchemaValidation::Runner).to receive(:new).and_return(runner) + allow(Gitlab::Schema::Validation::Runner).to receive(:new).and_return(runner) end it 'prints the inconsistency message' do |