Skip to content

Conversation

@nitishr
Copy link
Contributor

@nitishr nitishr commented Dec 27, 2019

  • Make naming more consistent with other names/concepts in the codebase: StubbedReceiver and {Any,}InstanceReceiver similar to StubbedMethod and {Any,}InstanceMethod, Impersonating{Any,}InstanceName as opposed to Impersonating{AnyInstance,}Name
  • stubbee usage compatible with the meaning in stubbee -> stubba_object, mock_owner -> stubbee #463
  • make {moch,stubb}a_example_test individually runnable as acceptance tests through include AcceptanceTest

... since this will always be true for classes, and reduces variance between
ObjectReceiver and AnyInstanceReceiver. This will allow us to reduce duplication
This will allow us to extract superclass or module since mock_owner is the only
difference between ObjectReceiver and AnyInstanceReceiver
This makes the parallel between {Stubbed,Instance,AnyInstance}{Method,Receiver}
more apparent
... to make parallels with {Instance,AnyInstance}{Method,Receiver} more apparent
@nitishr nitishr requested a review from floehopper January 16, 2020 08:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants