velesin/jasmine-jquery — pull request #54 by pmcelhaney (2012-04-06 02:10:29+00:00)
Title: expect('#selector.without_$').toJustWork() -- revised

Thanks for the feedback on my last pull request. I see that it broke the toBe() matcher. We want

expect('just a string').toBe('just a string');

to fall back to the built-in matcher rather than treating `'just a string'` like it's a jQuery selector. I think I solved the problem by just not having my shortcut apply to matchers that override built-in matchers.