Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

stubbee -> stubba_object, mock_owner -> stubbee #463

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Commits on Jan 17, 2020

  1. stubbee -> stubba_object, mock_owner -> stubbee

    stubbee is the thing that's stubbed - more specifically, the object on
    which .stubs or .mocks is called. Therefore, it's also the object that
    holds a reference to mocha. That's why it was called mock_owner earlier.
    
    stubba_object is the object through which we get hold of the
    stubba_class on which stubbed methods reside. In case of AnyInstance,
    that class is the stubba_object itself, while in case of Instance, it's
    the singleton class of the stubba_object.
    nitishr committed Jan 17, 2020
    Configuration menu
    Copy the full SHA
    e28d7f7 View commit details
    Browse the repository at this point in the history