Please sign in to comment.
Remove stubs from LogSubscriber tests
We can use another way to instantiate ActionView::Base, by passing renderer as a first option. Thanks to that we can just pass prefixes to LookupContext instead stubbing them on the controller. This is also good, because that kind of API is used in Rails code.
- Loading branch information...
Showing with 4 additions and 3 deletions.