Module: RSpec
- Defined in:
- lib/core/matcher.rb
Class Method Summary collapse
- .create_received_criteria_from(the_call) ⇒ Object
- .create_received_occurences_criteria_from(the_call, occurence) ⇒ Object
Class Method Details
.create_received_criteria_from(the_call) ⇒ Object
2 3 4 |
# File 'lib/core/matcher.rb', line 2 def self.create_received_criteria_from(the_call) return DevelopWithPassion::Fakes::RSpec::ReceivedCriteria.new(the_call) end |
.create_received_occurences_criteria_from(the_call, occurence) ⇒ Object
5 6 7 |
# File 'lib/core/matcher.rb', line 5 def self.create_received_occurences_criteria_from(the_call,occurence) return DevelopWithPassion::Fakes::RSpec::ReceivedOccurencesCriteria.new(create_received_criteria_from(the_call),the_call,occurence) end |