Methods
- S
- T
-
- test_children_should_inherit_rescue_definitions_from_parents_and_child_rescue_should_be_appended,
- test_rescue_falls_back_to_exception_cause,
- test_rescue_from_error_dispatchers_with_case_operator,
- test_rescue_from_with_block,
- test_rescue_from_with_block_with_args,
- test_rescue_from_with_method,
- test_rescues_defined_later_are_added_at_end_of_the_rescue_handlers_array
Instance Public methods
setup()
Link
test_children_should_inherit_rescue_definitions_from_parents_and_child_rescue_should_be_appended()
Link
# File activesupport/test/rescuable_test.rb, line 133 def test_children_should_inherit_rescue_definitions_from_parents_and_child_rescue_should_be_appended expected = ["WraithAttack", "WraithAttack", "NuclearExplosion", "MadRonon", "WeirdError", "CoolError"] result = @cool_stargate.send(:rescue_handlers).collect(&:first) assert_equal expected, result end
test_rescue_falls_back_to_exception_cause()
Link
test_rescue_from_error_dispatchers_with_case_operator()
Link
test_rescue_from_with_block()
Link
test_rescue_from_with_block_with_args()
Link
test_rescue_from_with_method()
Link
test_rescues_defined_later_are_added_at_end_of_the_rescue_handlers_array()
Link
# File activesupport/test/rescuable_test.rb, line 127 def test_rescues_defined_later_are_added_at_end_of_the_rescue_handlers_array expected = ["WraithAttack", "WraithAttack", "NuclearExplosion", "MadRonon", "WeirdError"] result = @stargate.send(:rescue_handlers).collect(&:first) assert_equal expected, result end