Methods
- S
- T
Instance Public methods
setup()
Link
test_children_should_inherit_rescue_defintions_from_parents_and_child_rescue_should_be_appended()
Link
# File activesupport/test/rescuable_test.rb, line 100 def test_children_should_inherit_rescue_defintions_from_parents_and_child_rescue_should_be_appended expected = ["WraithAttack", "WraithAttack", "NuclearExplosion", "MadRonon", "CoolError"] result = @cool_stargate.send(:rescue_handlers).collect {|e| e.first} assert_equal expected, result end
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 94 def test_rescues_defined_later_are_added_at_end_of_the_rescue_handlers_array expected = ["WraithAttack", "WraithAttack", "NuclearExplosion", "MadRonon"] result = @stargate.send(:rescue_handlers).collect {|e| e.first} assert_equal expected, result end