summaryrefslogtreecommitdiff
path: root/test/rdoc/test_rdoc_rubygems_hook.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/rdoc/test_rdoc_rubygems_hook.rb')
-rw-r--r--test/rdoc/test_rdoc_rubygems_hook.rb10
1 files changed, 5 insertions, 5 deletions
diff --git a/test/rdoc/test_rdoc_rubygems_hook.rb b/test/rdoc/test_rdoc_rubygems_hook.rb
index 7d59577d97..97b0bd999a 100644
--- a/test/rdoc/test_rdoc_rubygems_hook.rb
+++ b/test/rdoc/test_rdoc_rubygems_hook.rb
@@ -22,7 +22,7 @@ class TestRDocRubygemsHook < Gem::TestCase
begin
RDoc::RubygemsHook.load_rdoc
rescue Gem::DocumentError => e
- skip e.message
+ omit e.message
end
Gem.configuration[:rdoc] = nil
@@ -205,8 +205,8 @@ class TestRDocRubygemsHook < Gem::TestCase
end
def test_remove_unwritable
- skip 'chmod not supported' if Gem.win_platform?
- skip "assumes that euid is not root" if Process.euid == 0
+ omit 'chmod not supported' if Gem.win_platform?
+ omit "assumes that euid is not root" if Process.euid == 0
FileUtils.mkdir_p @a.base_dir
FileUtils.chmod 0, @a.base_dir
@@ -235,8 +235,8 @@ class TestRDocRubygemsHook < Gem::TestCase
end
def test_setup_unwritable
- skip 'chmod not supported' if Gem.win_platform?
- skip "assumes that euid is not root" if Process.euid == 0
+ omit 'chmod not supported' if Gem.win_platform?
+ omit "assumes that euid is not root" if Process.euid == 0
FileUtils.mkdir_p @a.doc_dir
FileUtils.chmod 0, @a.doc_dir