Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

stub_everything should mean mock responds to anything

#32

  def test_should_respond_to_any_method_if_stubbing_everything
    mock = stub_everything
    assert mock.respond_to?(:abc)
    assert mock.respond_to?(:xyz)
  end

This test currently fails, but I think it should pass.

Reported by James Mead · January 29th, 2009 @ 12:49 PM

State: resolved
Milestone: none
Assigned to: nobody

Activity

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.