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:
authorGitLab Bot <gitlab-bot@gitlab.com>2023-07-11 21:10:34 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2023-07-11 21:10:34 +0300
commit5842aa35563dacaabf9a80307966fabe366a1321 (patch)
tree76a34e30f26c3e0f44410cadc308c301d49858ce /spec/validators
parentf4ad4d190044bd14fe4caec25b1a219887bc752f (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/validators')
-rw-r--r--spec/validators/cron_validator_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/validators/cron_validator_spec.rb b/spec/validators/cron_validator_spec.rb
index bd7fe242957..52a57f6e160 100644
--- a/spec/validators/cron_validator_spec.rb
+++ b/spec/validators/cron_validator_spec.rb
@@ -29,7 +29,7 @@ RSpec.describe CronValidator do
expect(subject.valid?).to be_falsy
end
- context 'cron field is not whitelisted' do
+ context 'cron field is not allowlisted' do
subject do
Class.new do
include ActiveModel::Model
@@ -43,7 +43,7 @@ RSpec.describe CronValidator do
it 'raises an error' do
subject.cron_partytime = '0 23 * * 5'
- expect { subject.valid? }.to raise_error(StandardError, "Non-whitelisted attribute")
+ expect { subject.valid? }.to raise_error(StandardError, "Non-allowlisted attribute")
end
end
end