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 for function_returning_nil.should have(x).items #141

Closed
wants to merge 1 commit into from
Closed

Test for function_returning_nil.should have(x).items #141

wants to merge 1 commit into from

Commits on Apr 20, 2012

  1. Test for function_returning_nil.should have(x).items

    `nil.should have(8).items` returns the expected output:
        expected 8, got 0
    
    You should get the same if you call it on a function that
    returns `nil`.  However, you get `undefined method .items`.
    docwhat committed Apr 20, 2012
    Configuration menu
    Copy the full SHA
    c620939 View commit details
    Browse the repository at this point in the history