From 982276035592c1a61e6eacf43331f8b46af471c5 Mon Sep 17 00:00:00 2001 From: Grey Baker Date: Mon, 18 Jan 2016 11:22:22 +0000 Subject: [PATCH] Fix typo --- .../matchers/active_record/validate_uniqueness_of_matcher.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/shoulda/matchers/active_record/validate_uniqueness_of_matcher.rb b/lib/shoulda/matchers/active_record/validate_uniqueness_of_matcher.rb index f905c576..e16314be 100644 --- a/lib/shoulda/matchers/active_record/validate_uniqueness_of_matcher.rb +++ b/lib/shoulda/matchers/active_record/validate_uniqueness_of_matcher.rb @@ -978,7 +978,7 @@ different altogether. Your #{model.name} model has a uniqueness validation on :#{attribute} which is declared to be case-sensitive, but the value the uniqueness matcher used, #{value.inspect}, doesn't contain any alpha characters, so using it to -to test the case-sensitivity part of the validation is ineffective. There are +test the case-sensitivity part of the validation is ineffective. There are two possible solutions for this depending on what you're trying to do here: a) If you meant for the validation to be case-sensitive, then you need to give