summaryrefslogtreecommitdiff
path: root/spec/support
diff options
context:
space:
mode:
authorRobert Speicher <rspeicher@gmail.com>2015-05-18 16:40:10 -0400
committerRobert Speicher <rspeicher@gmail.com>2015-06-10 01:31:26 -0400
commit47251b85e06c84e9303ddbd06098ecc06c05d269 (patch)
tree73e49c5940c656134183600145aaa08a3991cfc3 /spec/support
parent07215f7f2adc3ab3196ee4b353c9da66de1acc0b (diff)
downloadgitlab-ce-47251b85e06c84e9303ddbd06098ecc06c05d269.tar.gz
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)