Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

obj.as_null_object does not behave correctly with respond_to? #16

Closed
dchelimsky opened this issue Sep 12, 2010 · 1 comment
Closed

obj.as_null_object does not behave correctly with respond_to? #16

dchelimsky opened this issue Sep 12, 2010 · 1 comment

Comments

@dchelimsky
Copy link
Contributor

This fails:

obj = double('obj').as_null_object
obj.should respond_to(:any_message_it_gets)
@dchelimsky
Copy link
Contributor Author

double.as_null_object always returns true for resond_to?

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant