Module: RSpec
- Defined in:
- lib/core/matcher.rb,
lib/core/version.rb,
lib/core/occurances.rb,
lib/core/block_criteria.rb,
lib/core/received_criteria.rb,
lib/core/nullo_specification.rb,
lib/core/received_occurances_criteria.rb
Defined Under Namespace
Modules: Fakes
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 RSpec::Fakes::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 RSpec::Fakes::ReceivedOccurencesCriteria.new(create_received_criteria_from(the_call),the_call,occurence) end |