Skip to content

Commit

Permalink
Merge pull request #16749 from robin850/rbx-name-error
Browse files Browse the repository at this point in the history
Rely on NameError#name instead of its error message
  • Loading branch information
rafaelfranca committed Jan 2, 2015
2 parents acb1991 + 3c58bf2 commit e8615b9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions activesupport/test/core_ext/time_with_zone_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -812,6 +812,8 @@ def test_advance_1_year_during_dst
end

def test_no_method_error_has_proper_context
rubinius_skip "Error message inconsistency"

e = assert_raises(NoMethodError) {
@twz.this_method_does_not_exist
}
Expand Down

0 comments on commit e8615b9

Please sign in to comment.