Skip to content

Commit

Permalink
Fix documentation typo. Method is named have_readonly_attribute, but …
Browse files Browse the repository at this point in the history
…documentation refers to have_readonly_attributes.
  • Loading branch information
JDutil committed Sep 21, 2011
1 parent 3d94390 commit 6928661
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ module ActiveRecord # :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)
Expand Down

0 comments on commit 6928661

Please sign in to comment.