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/validators/array_members_validator_spec.rb')
-rw-r--r--spec/validators/array_members_validator_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/validators/array_members_validator_spec.rb b/spec/validators/array_members_validator_spec.rb
index ff8f0da7651..c6960925487 100644
--- a/spec/validators/array_members_validator_spec.rb
+++ b/spec/validators/array_members_validator_spec.rb
@@ -49,7 +49,7 @@ RSpec.describe ArrayMembersValidator do
object = test_class.new(children: [])
expect(object.valid?).to be_falsey
- expect(object.errors.messages).to eql(children: ['should be an array of children objects'])
+ expect(object.errors.messages).to eq(children: ['should be an array of children objects'])
end
end
@@ -62,7 +62,7 @@ RSpec.describe ArrayMembersValidator do
object = test_class.new(children: [])
expect(object.valid?).to be_falsey
- expect(object.errors.messages).to eql(children: ['should be an array of test objects'])
+ expect(object.errors.messages).to eq(children: ['should be an array of test objects'])
end
end
end