Methods
- #
- A
- M
- N
Class Public methods
Source: show
# File activesupport/lib/active_support/testing/isolation.rb, line 15 def initialize @calls = [] end
Instance Public methods
Source: show
# File activesupport/lib/active_support/testing/isolation.rb, line 24 def __replay__(result) @calls.each do |name, args| result.send(name, *args) end end
Source: show
# File activesupport/lib/active_support/testing/isolation.rb, line 19 def add_error(e) e = Test::Unit::Error.new(e.test_name, RemoteError.new(e.exception)) @calls << [:add_error, e] end
Source: show
# File activesupport/lib/active_support/testing/isolation.rb, line 30 def method_missing(name, *args) @calls << [name, args] end