Skip to content

Commit

Permalink
Merge branch 'patch-1' of https://github.com/jdutil/shoulda-matchers
Browse files Browse the repository at this point in the history
  • Loading branch information
mike-burns committed Oct 14, 2011
2 parents 21fa1f1 + 6928661 commit ea477b8
Showing 1 changed file with 1 addition and 1 deletion.
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 ea477b8

Please sign in to comment.