class RSpecial::HaveExactlyAssay
Public Class Methods
assert_message(collection_or_owner, have)
click to toggle source
Error message for have equal assertion.
Calls superclass method
# File lib/rspecial/have.rb, line 142 def self.assert_message(collection_or_owner, have) actual = collection_actual(collection_or_owner, have) super(actual, have.expected) end
pass?(collection_or_owner, have)
click to toggle source
Calls superclass method
# File lib/rspecial/have.rb, line 134 def self.pass?(collection_or_owner, have) actual = collection_actual(collection_or_owner, have) super(actual, have.expected) end