Permalink
Browse files

Merge branch 'expected_message_typo'

  • Loading branch information...
2 parents 9ec77f9 + b1e38d3 commit ed12e031552d0d26342e0bc5e6cb003aa0e750a2 @nessche committed May 24, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 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

0 comments on commit ed12e03

Please sign in to comment.