diff --git a/.gitlab/issue_templates/Geo Replicate a new Git repository type.md b/.gitlab/issue_templates/Geo Replicate a new Git repository type.md index 29fa092a0916867081017a3f4b89e2e12b51ca7e..76e874a7b6f092be3f747801c98e97b18bf12665 100644 --- a/.gitlab/issue_templates/Geo Replicate a new Git repository type.md +++ b/.gitlab/issue_templates/Geo Replicate a new Git repository type.md @@ -308,7 +308,7 @@ That's all of the required database changes. - [ ] Add the following shared examples to `ee/spec/models/ee/cool_widget_spec.rb`: ```ruby - include_examples 'a verifiable model with a separate table for verification state' do + include_examples 'a verifiable model for verification state' do let(:verifiable_model_record) { build(:cool_widget) } # add extra params if needed to make sure the record is in `Geo::ReplicableModel.verifiables` scope let(:unverifiable_model_record) { build(:cool_widget) } # add extra params if needed to make sure the record is NOT included in `Geo::ReplicableModel.verifiables` scope end diff --git a/.gitlab/issue_templates/Geo Replicate a new blob type.md b/.gitlab/issue_templates/Geo Replicate a new blob type.md index c83ef9a4f3ee5af7856b5934df70f911f18562e7..8815557fb11dae9beb18731c5b85112235d4c2db 100644 --- a/.gitlab/issue_templates/Geo Replicate a new blob type.md +++ b/.gitlab/issue_templates/Geo Replicate a new blob type.md @@ -305,7 +305,7 @@ That's all of the required database changes. - [ ] Add the following shared examples to `ee/spec/models/ee/cool_widget_spec.rb`: ```ruby - include_examples 'a verifiable model with a separate table for verification state' do + include_examples 'a verifiable model for verification state' do let(:verifiable_model_record) { build(:cool_widget) } # add extra params if needed to make sure the record is in `Geo::ReplicableModel.verifiables` scope let(:unverifiable_model_record) { build(:cool_widget) } # add extra params if needed to make sure the record is NOT included in `Geo::ReplicableModel.verifiables` scope end diff --git a/ee/app/models/ee/packages/nuget/symbol.rb b/ee/app/models/ee/packages/nuget/symbol.rb index 2f3d98753f217741b415559b2a8b5737e27cde66..7be25eeee18b5395b49505b4bf903fb466d5072d 100644 --- a/ee/app/models/ee/packages/nuget/symbol.rb +++ b/ee/app/models/ee/packages/nuget/symbol.rb @@ -19,8 +19,6 @@ module Symbol after_save :save_verification_details - scope :available_replicables, -> { all } - scope :available_verifiables, -> { joins(:packages_nuget_symbol_state) } scope :project_id_in, ->(ids) { where(project_id: ids) } scope :with_verification_state, ->(state) {