lib/fakes_rspec/matcher.rb in fakes-rspec-1.0.6 vs lib/fakes_rspec/matcher.rb in fakes-rspec-2.0.0
- old
+ new
@@ -4,10 +4,10 @@
end
def self.create_received_occurences_criteria_from(the_call,occurence)
return Fakes::RSpec::ReceivedOccurrencesCriteria.new(create_received_criteria_from(the_call),the_call,occurence)
end
- Matchers.define :have_received do|symbol,*args|
+ Matchers.define :have_received_message do|symbol,*args|
@occurence_spec = Fakes::RSpec::NulloSpecification.instance
chain :once do
@occurence_spec = Fakes::RSpec::Occurrences.exact(1)
end