class Shoulda::Matchers::Independent::DelegateMatcher::TargetNotDefinedError
Public Instance Methods
message()
click to toggle source
# File lib/shoulda/matchers/independent/delegate_matcher.rb, line 200 def message 'Delegation needs a target. Use the #to method to define one, e.g. `post_office.should delegate(:deliver_mail).to(:mailman)`'.squish end