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:
authorRobert Speicher <rspeicher@gmail.com>2015-05-18 23:40:10 +0300
committerRobert Speicher <rspeicher@gmail.com>2015-06-10 08:31:26 +0300
commit47251b85e06c84e9303ddbd06098ecc06c05d269 (patch)
tree73e49c5940c656134183600145aaa08a3991cfc3 /spec/support
parent07215f7f2adc3ab3196ee4b353c9da66de1acc0b (diff)
ensure_length_of -> validate_length_of
Diffstat (limited to 'spec/support')
-rw-r--r--spec/support/matchers.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/support/matchers.rb b/spec/support/matchers.rb
index 52b11bd6323..f8cce2ea5a3 100644
--- a/spec/support/matchers.rb
+++ b/spec/support/matchers.rb
@@ -70,7 +70,7 @@ end
# Extend shoulda-matchers
module Shoulda::Matchers::ActiveModel
- class EnsureLengthOfMatcher
+ class ValidateLengthOfMatcher
# Shortcut for is_at_least and is_at_most
def is_within(range)
is_at_least(range.min) && is_at_most(range.max)