Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fix documentation typo. Method is named have_readonly_attribute, but …

…documentation refers to have_readonly_attributes.
  • Loading branch information...
commit 69286613d0162252749516f44014c4b50f708847 1 parent 3d94390
@JDutil JDutil authored
View
2  lib/shoulda/matchers/active_record/have_readonly_attribute_matcher.rb
@@ -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)
Please sign in to comment.
Something went wrong with that request. Please try again.