Some times people stub helper methods in the object they are testing, but that's a test smell and often indicate a bad design on the object itself. `RSpec/SubjectStub` cop flags allow and expect on the subject