Skip to content

Commit

Permalink
Fixed incorrect documentation for stub_model. Thanks Evgeniy Dolzhenko.
Browse files Browse the repository at this point in the history
  • Loading branch information
justinko committed Sep 23, 2011
1 parent 9805468 commit 1b8c886
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion lib/rspec/rails/mocks.rb
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,6 @@ def connection
# stub_model(Model)
# stub_model(Model).as_new_record
# stub_model(Model, hash_of_stubs)
# stub_model(Model, instance_variable_name, hash_of_stubs)
#
# Creates an instance of +Model+ with +to_param+ stubbed using a
# generated value that is unique to each object.. If +Model+ is an
Expand Down

0 comments on commit 1b8c886

Please sign in to comment.