Permalink
Browse files

fixing docs

Signed-off-by: Nick Quaranto <nick@quaran.to>
  • Loading branch information...
1 parent 7d6aa5b commit c53e72036344d04a5f078b1f8f75e005843a989f @stevenbristol stevenbristol committed with qrush May 16, 2009
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/shoulda/active_record/matchers/validate_format_of_matcher.rb
View
4 lib/shoulda/active_record/matchers/validate_format_of_matcher.rb
@@ -13,10 +13,10 @@ module Matchers
# * <tt>not_with(string to test against)</tt>
#
# 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/) }
#

0 comments on commit c53e720

Please sign in to comment.