class RuboCop::Cop::RSpec::SubjectStub

def find_subject_stub(node, &block)

Other tags:
    Yield: - message expectations for subject

Parameters:
  • node (RuboCop::Node) -- example group
def find_subject_stub(node, &block)
  find_subject(node) do |subject_name, context|
    find_subject_expectation(context, subject_name, &block)
  end
end