Commit 2812f154 authored by Mike Kozono's avatar Mike Kozono

Run verification tests only on Package Files for now

parent 26aefe26
......@@ -6,4 +6,8 @@ RSpec.describe Geo::PackageFileReplicator do
let(:model_record) { build(:package_file, :npm) }
include_examples 'a blob replicator'
# TODO: Move these examples to the blob and repo strategy shared examples so
# these get run for all Replicators.
# https://gitlab.com/gitlab-org/gitlab/-/issues/280768
it_behaves_like 'a verifiable replicator'
end
......@@ -19,7 +19,6 @@ RSpec.shared_examples 'a blob replicator' do
end
it_behaves_like 'a replicator'
it_behaves_like 'a verifiable replicator'
# This could be included in each model's spec, but including it here is DRYer.
include_examples 'a replicable model'
......
......@@ -19,7 +19,6 @@ RSpec.shared_examples 'a repository replicator' do
end
it_behaves_like 'a replicator'
it_behaves_like 'a verifiable replicator'
# This could be included in each model's spec, but including it here is DRYer.
include_examples 'a replicable model'
......
# frozen_string_literal: true
# This is included by BlobReplicatorStrategy and RepositoryReplicatorStrategy.
# This should be included on any Replicator which implements verification.
#
RSpec.shared_examples 'a verifiable replicator' do
include EE::GeoHelpers
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment