Class Spec::Mocks::NegativeMessageExpectation

  1. lib/spec/mocks/message_expectation.rb

Methods

public class

  1. new

public instance

  1. negative_expectation_for?

Public class methods

new (message, expectation_ordering, expected_from, sym, method_block)
[show source]
# File lib/spec/mocks/message_expectation.rb, line 313
      def initialize(message, expectation_ordering, expected_from, sym, method_block)
        super(message, expectation_ordering, expected_from, sym, method_block, 0)
      end

Public instance methods

negative_expectation_for? (sym)
[show source]
# File lib/spec/mocks/message_expectation.rb, line 317
      def negative_expectation_for?(sym)
        return @sym == sym
      end