Skip to content

Commit

Permalink
Fix typo on allow_mass_assignment_of_matcher documentation.
Browse files Browse the repository at this point in the history
  • Loading branch information
Sylvestre Mergulhao committed Dec 21, 2011
1 parent 25c2623 commit 3a75c68
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

1 comment on commit 3a75c68

@masterkain
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I fell for it during copy/paste, +1

Please sign in to comment.