Permalink
Browse files

Fix typo on allow_mass_assignment_of_matcher documentation.

  • Loading branch information...
1 parent 25c2623 commit 3a75c6877c07fbf62e77b1fb0aa852138bd537d6 Sylvestre Mergulhao committed Dec 21, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/shoulda/matchers/active_model/allow_mass_assignment_of_matcher.rb
@@ -9,7 +9,7 @@ module ActiveModel # :nodoc:
#
# In Rails 3.1 you can check role as well:
#
- # it { should allow_mass_assigment_of(:first_name).as(:admin) }
+ # it { should allow_mass_assignment_of(:first_name).as(:admin) }
#
def allow_mass_assignment_of(value)
AllowMassAssignmentOfMatcher.new(value)

0 comments on commit 3a75c68

Please sign in to comment.