Permalink
Browse files

Merge branch 'patch-1' of https://github.com/jdutil/shoulda-matchers

  • Loading branch information...
2 parents 21fa1f1 + 6928661 commit ea477b886d4b0a92ee9792f9e321f5fa511e5f70 @mike-burns mike-burns committed Oct 14, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/shoulda/matchers/active_record/have_readonly_attribute_matcher.rb
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)

0 comments on commit ea477b8

Please sign in to comment.