mirror of
https://github.com/thoughtbot/shoulda-matchers.git
synced 2022-11-09 12:01:38 -05:00
fixing docs
Signed-off-by: Nick Quaranto <nick@quaran.to>
This commit is contained in:
parent
7d6aa5b6ec
commit
c53e720363
1 changed files with 2 additions and 2 deletions
|
@ -13,10 +13,10 @@ module Shoulda # :nodoc:
|
|||
# * <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/) }
|
||||
#
|
||||
|
|
Loading…
Add table
Reference in a new issue