aboutsummaryrefslogtreecommitdiffstats
path: root/test/uri/test_mailto.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/uri/test_mailto.rb')
-rw-r--r--test/uri/test_mailto.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/uri/test_mailto.rb b/test/uri/test_mailto.rb
index ba437904f8..38715fcc9c 100644
--- a/test/uri/test_mailto.rb
+++ b/test/uri/test_mailto.rb
@@ -101,7 +101,7 @@ class TestMailTo < Test::Unit::TestCase
end
bad.each do |x|
- assert_raises(URI::InvalidComponentError) {
+ assert_raise(URI::InvalidComponentError) {
@u.build(x)
}
end
@@ -112,7 +112,7 @@ class TestMailTo < Test::Unit::TestCase
def test_select
u = URI.parse('mailto:joe@example.com?cc=bob@example.com&body=hello')
assert_equal(uri_to_ary(u), u.select(*u.component))
- assert_raises(ArgumentError) do
+ assert_raise(ArgumentError) do
u.select(:scheme, :host, :not_exist, :port)
end
end