igrep / crispy

Test Spy for Any Object in Ruby.
http://rubygems.org/gems/crispy
MIT License
22 stars 2 forks source link

add predicate method to check if the given class's instances are spied #28

Closed igrep closed 9 years ago

igrep commented 9 years ago

This feature is needed to implement expect_any_instance_of method in https://github.com/igrep/rspec-crispy . expect_any_instance_of should raise an error when the given class's instances are not spied. So it needs the predicate method.