#32 ✓resolved
James Mead

stub_everything should mean mock responds to anything

Reported by James Mead | 2009-01-29 12:49:10 UTC


  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.

Comments and changes to this ticket

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.

New ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

A mocking & stubbing library for Ruby.

* GitHub repository
* Documentation
* Mailing List

People watching this ticket

Tags

Pages