Fix documentation typo. Method is named have_readonly_attribute, but documentation refers to have_readonly_attributes.

This commit is contained in:
Jeff Dutil 2011-09-21 19:33:38 -03:00
parent 3d9439030b
commit 69286613d0
1 changed files with 1 additions and 1 deletions

View File

@ -5,7 +5,7 @@ module Shoulda # :nodoc:
# Ensures that the attribute cannot be changed once the record has been
# created.
#
# it { should have_readonly_attributes(:password) }
# it { should have_readonly_attribute(:password) }
#
def have_readonly_attribute(value)
HaveReadonlyAttributeMatcher.new(value)