spec/support/punchblock_mocks.rb in adhearsion-2.0.0.beta1 vs spec/support/punchblock_mocks.rb in adhearsion-2.0.0.rc1

- old
+ new

@@ -1,4 +1,6 @@ +# encoding: utf-8 + def mock_offer(id = nil, headers = {}) id ||= rand flexmock("Offer: #{id}", :call_id => id, :headers_hash => headers).tap do |offer| offer.should_ignore_missing end