Skip to content

Conversation

@r38y
Copy link
Contributor

@r38y r38y commented Feb 3, 2011

I ran into this issue when checking whether or not an instance variable was assigned in a controller. I would mock a model with .as_null_object and because that returned a string for #blank?, it was evaluating to true, instead of false.

If this is not the proper way to fix this, let me know and I'll be happy to change it.

@dchelimsky
Copy link
Contributor

Closed by d33a28e

This pull request 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

Successfully merging this pull request may close these issues.

2 participants