diff options
author | Neeraj Singh <neerajdotname@gmail.com> | 2010-05-19 15:14:51 -0400 |
---|---|---|
committer | José Valim <jose.valim@gmail.com> | 2010-05-19 21:31:51 +0200 |
commit | 39a246f545a714b21c669e2f6eda4012526c3874 (patch) | |
tree | 89da32733821f0a7dcc56efdac82c72897eca424 /activesupport/test/core_ext/class/class_inheritable_attributes_test.rb | |
parent | bdb2871df7fb0a1eeceadb31aaba4d160df508aa (diff) | |
download | rails-39a246f545a714b21c669e2f6eda4012526c3874.tar.gz rails-39a246f545a714b21c669e2f6eda4012526c3874.tar.bz2 rails-39a246f545a714b21c669e2f6eda4012526c3874.zip |
Final iteration of use better testing methods
[#4652 state:resolved]
Signed-off-by: José Valim <jose.valim@gmail.com>
Diffstat (limited to 'activesupport/test/core_ext/class/class_inheritable_attributes_test.rb')
-rw-r--r-- | activesupport/test/core_ext/class/class_inheritable_attributes_test.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/activesupport/test/core_ext/class/class_inheritable_attributes_test.rb b/activesupport/test/core_ext/class/class_inheritable_attributes_test.rb index eeda468d9c..63ea46b564 100644 --- a/activesupport/test/core_ext/class/class_inheritable_attributes_test.rb +++ b/activesupport/test/core_ext/class/class_inheritable_attributes_test.rb @@ -219,7 +219,7 @@ class ClassInheritableAttributesTest < Test::Unit::TestCase @klass.reset_inheritable_attributes @sub = eval("class NotInheriting < @klass; end; NotInheriting") - assert_equal nil, @klass.a - assert_equal nil, @sub.a + assert_nil @klass.a + assert_nil @sub.a end end |