From dea1ff8e8ce88840434d53977ff62683240f5b8f Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Thu, 14 Jul 2022 15:16:19 +0200 Subject: Adding upstream version 2.20.0. Signed-off-by: Daniel Baumann --- tests/repository_test.py | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'tests/repository_test.py') diff --git a/tests/repository_test.py b/tests/repository_test.py index 3729ab1..11d452c 100644 --- a/tests/repository_test.py +++ b/tests/repository_test.py @@ -332,6 +332,13 @@ def test_run_a_ruby_hook(tempdir_factory, store): ) +def test_run_a_ruby_hook_with_user_install_set(tempdir_factory, store, tmpdir): + gemrc = tmpdir.join('gemrc') + gemrc.write('gem: --user-install\n') + with envcontext((('GEMRC', str(gemrc)),)): + test_run_a_ruby_hook(tempdir_factory, store) + + @xfailif_windows # pragma: win32 no cover def test_run_versioned_ruby_hook(tempdir_factory, store): _test_hook_repo( -- cgit v1.2.3