diff --git a/test/test_timeout.rb b/test/test_timeout.rb index b1a93a7..e900b10 100644 --- a/test/test_timeout.rb +++ b/test/test_timeout.rb @@ -108,7 +108,7 @@ def test_nested_timeout_which_error_bubbles_up raised_exception = e end - assert_equal 'inner message', e.message + assert_equal 'inner message', raised_exception.message end def test_cannot_convert_into_time_interval