Skip to content

Commit

Permalink
Merge pull request #911 from rspec/correct_docs_for_910
Browse files Browse the repository at this point in the history
Correct any_instance documentation.
  • Loading branch information
myronmarston committed Mar 15, 2015
2 parents fbaf33e + 7b13b85 commit 9597d6f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion features/working_with_legacy_code/any_instance.feature
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ Feature: Any Instance
* The `rspec-mocks` API is designed for individual object instances, but this feature
operates on entire classes of objects. As a result there are some semantically confusing
edge cases. For example, in `expect_any_instance_of(Widget).to
receive(:name).twice` it isn't clear whether each specific instance is expected to
receive(:name).twice` it isn't clear whether a specific instance is expected to
receive `name` twice, or if two receives total are expected. (It's the former.)
* Using this feature is often a design smell. It may be that your test is trying to do too
much or that the object under test is too complex.
Expand Down

0 comments on commit 9597d6f

Please sign in to comment.