Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'spec/models/container_registry/protection/rule_spec.rb')
-rw-r--r--spec/models/container_registry/protection/rule_spec.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/spec/models/container_registry/protection/rule_spec.rb b/spec/models/container_registry/protection/rule_spec.rb
index 9f162736efd..1706fcf76ae 100644
--- a/spec/models/container_registry/protection/rule_spec.rb
+++ b/spec/models/container_registry/protection/rule_spec.rb
@@ -38,9 +38,9 @@ RSpec.describe ContainerRegistry::Protection::Rule, type: :model, feature_catego
describe 'validations' do
subject { build(:container_registry_protection_rule) }
- describe '#container_path_pattern' do
- it { is_expected.to validate_presence_of(:container_path_pattern) }
- it { is_expected.to validate_length_of(:container_path_pattern).is_at_most(255) }
+ describe '#repository_path_pattern' do
+ it { is_expected.to validate_presence_of(:repository_path_pattern) }
+ it { is_expected.to validate_length_of(:repository_path_pattern).is_at_most(255) }
end
describe '#delete_protected_up_to_access_level' do