aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/test/core_ext
diff options
context:
space:
mode:
authorRaphomet <Raphael.T.Lee@gmail.com>2010-08-20 23:31:32 -0700
committerSantiago Pastorino <santiago@wyeworks.com>2010-08-21 19:20:42 -0300
commit7a090b02165603cc6c18b3153539b4bce96ba065 (patch)
treebeeb8f041e131819928a0627113a530dd9c7a93d /activesupport/test/core_ext
parent82e389ed30fd979d4a627b1edbda52c6dde34ae6 (diff)
downloadrails-7a090b02165603cc6c18b3153539b4bce96ba065.tar.gz
rails-7a090b02165603cc6c18b3153539b4bce96ba065.tar.bz2
rails-7a090b02165603cc6c18b3153539b4bce96ba065.zip
Trifling typos
Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
Diffstat (limited to 'activesupport/test/core_ext')
-rw-r--r--activesupport/test/core_ext/kernel_test.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/activesupport/test/core_ext/kernel_test.rb b/activesupport/test/core_ext/kernel_test.rb
index 228b644c1a..904d56a87e 100644
--- a/activesupport/test/core_ext/kernel_test.rb
+++ b/activesupport/test/core_ext/kernel_test.rb
@@ -54,14 +54,14 @@ class KernelTest < Test::Unit::TestCase
end
end
-class KernelSupressTest < Test::Unit::TestCase
+class KernelSuppressTest < Test::Unit::TestCase
def test_reraise
assert_raise(LoadError) do
suppress(ArgumentError) { raise LoadError }
end
end
- def test_supression
+ def test_suppression
suppress(ArgumentError) { raise ArgumentError }
suppress(LoadError) { raise LoadError }
suppress(LoadError, ArgumentError) { raise LoadError }