diff options
author | Jeremy Kemper <jeremy@bitsweat.net> | 2008-11-07 12:59:29 -0500 |
---|---|---|
committer | Jeremy Kemper <jeremy@bitsweat.net> | 2008-11-07 12:59:29 -0500 |
commit | f12a2b4820dfe4af3d3881f69f7709fb21eba11f (patch) | |
tree | b819c8879784b2ffcb01fea48fe1759c48739e61 /activesupport/test/core_ext | |
parent | 70c2fcab09334b0bdbc58e67ff3cf7f1de472112 (diff) | |
download | rails-f12a2b4820dfe4af3d3881f69f7709fb21eba11f.tar.gz rails-f12a2b4820dfe4af3d3881f69f7709fb21eba11f.tar.bz2 rails-f12a2b4820dfe4af3d3881f69f7709fb21eba11f.zip |
Subclass AS::TestCase to get custom assertions
Diffstat (limited to 'activesupport/test/core_ext')
-rw-r--r-- | activesupport/test/core_ext/duration_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activesupport/test/core_ext/duration_test.rb b/activesupport/test/core_ext/duration_test.rb index 5cd52d8d79..6fe0a98d39 100644 --- a/activesupport/test/core_ext/duration_test.rb +++ b/activesupport/test/core_ext/duration_test.rb @@ -1,6 +1,6 @@ require 'abstract_unit' -class DurationTest < Test::Unit::TestCase +class DurationTest < ActiveSupport::TestCase def test_inspect assert_equal '1 month', 1.month.inspect assert_equal '1 month and 1 day', (1.month + 1.day).inspect |