Class: RSpecial::HaveExactlyAssay
- Inherits:
-
EqualAssay
- Object
- EqualAssay
- RSpecial::HaveExactlyAssay
- Extended by:
- RSpecial::Have::Helpers
- Defined in:
- lib/rspecial/have.rb
Class Method Summary collapse
-
.assert_message(collection_or_owner, have) ⇒ Object
Error message for have equal assertion.
- .pass?(collection_or_owner, have) ⇒ Boolean
Methods included from RSpecial::Have::Helpers
assert_description, collection_actual, collection_set, not_a_collection, query_method, refute_descrptipon
Class Method Details
.assert_message(collection_or_owner, have) ⇒ Object
Error message for have equal assertion.
142 143 144 145 |
# File 'lib/rspecial/have.rb', line 142 def self.(collection_or_owner, have) actual = collection_actual(collection_or_owner, have) super(actual, have.expected) end |
.pass?(collection_or_owner, have) ⇒ Boolean
134 135 136 137 |
# 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 |