Class: RSpecial::HaveAtLeastAssay

Inherits:
MoreEqualAssay
  • Object
show all
Extended by:
RSpecial::Have::Helpers
Defined in:
lib/rspecial/have.rb

Class Method Summary collapse

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



168
169
170
171
# File 'lib/rspecial/have.rb', line 168

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) ⇒ Boolean

Returns:

  • (Boolean)


160
161
162
163
# File 'lib/rspecial/have.rb', line 160

def self.pass?(collection_or_owner, have)
  actual = collection_actual(collection_or_owner, have)
  super(actual, have.expected)
end