Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge branch 'expected_message_typo'

  • Loading branch information...
commit ed12e031552d0d26342e0bc5e6cb003aa0e750a2 2 parents 9ec77f9 + b1e38d3
@nessche authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/matchers/validations/uniqueness_of.rb
View
2  lib/matchers/validations/uniqueness_of.rb
@@ -43,7 +43,7 @@ def description
options_desc << " scoped to #{@scope.inspect}" if @scope
options_desc << " allowing blank values" if @allow_blank
options_desc << " allowing case insensitive values" if @case_insensitive
- options_desc << " with message '#{@expected_message}'" if @case_insensitive
+ options_desc << " with message '#{@expected_message}'" if @expected_message
super << options_desc.to_sentence
end
Please sign in to comment.
Something went wrong with that request. Please try again.