summaryrefslogtreecommitdiff
path: root/test/rubygems/test_gem_doc_manager.rb
diff options
context:
space:
mode:
-rw-r--r--test/rubygems/test_gem_doc_manager.rb8
1 files changed, 7 insertions, 1 deletions
@@ -18,7 +18,13 @@ class TestGemDocManager < RubyGemTestCase
def test_uninstall_doc_unwritable
orig_mode = File.stat(@spec.installation_path).mode
- File.chmod 0, @spec.installation_path
assert_raises Gem::FilePermissionError do
@manager.uninstall_doc