edge badge
Methods
#
A
I
M
N
Class Public methods
new(calls = [])
# File activesupport/lib/active_support/testing/isolation.rb, line 17
def initialize(calls = [])
  @calls = calls
end
Instance Public methods
__replay__(result)
# File activesupport/lib/active_support/testing/isolation.rb, line 26
def __replay__(result)
  @calls.each do |name, args|
    result.send(name, *args)
  end
end
add_error(e)
# File activesupport/lib/active_support/testing/isolation.rb, line 21
def add_error(e)
  e = Test::Unit::Error.new(e.test_name, RemoteError.new(e.exception))
  @calls << [:add_error, e]
end
info_signal()
# File activesupport/lib/active_support/testing/isolation.rb, line 44
def info_signal
  Signal.list['INFO']
end
marshal_dump()
# File activesupport/lib/active_support/testing/isolation.rb, line 32
def marshal_dump
  @calls
end
marshal_load(calls)
# File activesupport/lib/active_support/testing/isolation.rb, line 36
def marshal_load(calls)
  initialize(calls)
end
method_missing(name, *args)
# File activesupport/lib/active_support/testing/isolation.rb, line 40
def method_missing(name, *args)
  @calls << [name, args]
end