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

Test not break when expected value is nil. #18

Open
narcisobenigno opened this issue Jun 25, 2014 · 2 comments
Open

Test not break when expected value is nil. #18

narcisobenigno opened this issue Jun 25, 2014 · 2 comments
Labels

Comments

@narcisobenigno
Copy link

I execute a test like below:

is_expected.to have_node(:created_at).with(obj.created_at)

And the test pass when created_at is nil.

@tomas-stefano
Copy link
Owner

What RSpec version did you use?

@narcisobenigno
Copy link
Author

3.0.0

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

No branches or pull requests

2 participants