diff --git a/lib/shoulda/active_record/matchers/validate_format_of_matcher.rb b/lib/shoulda/active_record/matchers/validate_format_of_matcher.rb index 35628c69..56050455 100644 --- a/lib/shoulda/active_record/matchers/validate_format_of_matcher.rb +++ b/lib/shoulda/active_record/matchers/validate_format_of_matcher.rb @@ -13,10 +13,10 @@ module Shoulda # :nodoc: # * not_with(string to test against) # # Examples: - # it { should validate_format_ofof(:name). + # it { should validate_format_of(:name). # with('12345'). # with_message(/is not optional/) } - # it { should validate_format_ofof(:name). + # it { should validate_format_of(:name). # not_with('12D45'). # with_message(/is not optional/) } #