RSpec::Mocks::NegativeMessageExpectation

Public Class Methods

new(message, expectation_ordering, expected_from, sym, method_block) click to toggle source
# File lib/rspec/mocks/message_expectation.rb, line 344
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) click to toggle source
# File lib/rspec/mocks/message_expectation.rb, line 348
def negative_expectation_for?(sym)
  return @sym == sym
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.