Class Spec::Expectations::Should::PositiveItemHandler
In: lib/spec/expectations/should/have.rb
Parent: ItemHandler

Methods

Public Instance methods

[Source]

     # File lib/spec/expectations/should/have.rb, line 116
116:         def handle_message(sym, *args)
117:           fail_with(build_message(sym, args)) unless @target.send("has_#{sym}?", *args)
118:         end

[Source]

     # File lib/spec/expectations/should/have.rb, line 120
120:         def item_expectation
121:           "should have"
122:         end

[Validate]