News for hackers. Stuff that matters.
Re:How I Write Tests by rhizome on Sunday January 01, 2017 @11:31PM (#13299043)
Where are you getting the object to which you're going to send messages?
Re:How I Write Tests by vinceguidry on Sunday January 01, 2017 @11:52PM (#13299123)
From the class.

    expect(Klass.new.special_case).to have_this_behavior
Anything more complicated in test code should be considered an anti-pattern.