Failing Test: test_any_should_not_load_results

I'm running the tests with latest edge rails and this one is failing:

UPDATE: I just updated mocha and now this test is passing. I'm
assuming this has to do with how "expects" gets passed to proxy_scope
and ends up loading the results performing in the 1 query. I'm posting
this anyway because I think this test should be fixed so it doesn't
rely on the version of mocha installed.

Either that, or we should simply up the minimum version we support in
the uses_mocha code. Either approach seems fine to me.

Good hunting, do you want to do the honours? :slight_smile:

I'd prefer to change the test itself since others are having this
problem as well (see comment in the github commit). I'll work on
submitting a patch to lighthouse.

Regards,

Ryan

Here's the ticket with patch:
http://rails.lighthouseapp.com/projects/8994/tickets/782

Regards,

Ryan

Cheers, applied!