summaryrefslogtreecommitdiffstats
path: root/tests/languages/ruby_test.py
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2021-07-17 07:38:15 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2021-07-17 07:38:15 +0000
commitd7666fa97c8bbaced14dadba189f0d5064d67821 (patch)
treeb67672fefc0275e3ac26e2deed8b87e17ee6cd5c /tests/languages/ruby_test.py
parentReleasing debian version 2.12.1-1. (diff)
downloadpre-commit-d7666fa97c8bbaced14dadba189f0d5064d67821.tar.xz
pre-commit-d7666fa97c8bbaced14dadba189f0d5064d67821.zip
Merging upstream version 2.13.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'tests/languages/ruby_test.py')
-rw-r--r--tests/languages/ruby_test.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/languages/ruby_test.py b/tests/languages/ruby_test.py
index 0c6cfed..7dff046 100644
--- a/tests/languages/ruby_test.py
+++ b/tests/languages/ruby_test.py
@@ -36,13 +36,13 @@ def test_uses_system_if_both_gem_and_ruby_are_available(find_exe_mck):
def fake_gem_prefix(tmpdir):
gemspec = '''\
Gem::Specification.new do |s|
- s.name = 'pre_commit_dummy_package'
+ s.name = 'pre_commit_placeholder_package'
s.version = '0.0.0'
- s.summary = 'dummy gem for pre-commit hooks'
+ s.summary = 'placeholder gem for pre-commit hooks'
s.authors = ['Anthony Sottile']
end
'''
- tmpdir.join('dummy_gem.gemspec').write(gemspec)
+ tmpdir.join('placeholder_gem.gemspec').write(gemspec)
yield Prefix(tmpdir)
@@ -53,7 +53,7 @@ def test_install_ruby_system(fake_gem_prefix):
# Should be able to activate and use rbenv install
with ruby.in_env(fake_gem_prefix, 'system'):
_, out, _ = cmd_output('gem', 'list')
- assert 'pre_commit_dummy_package' in out
+ assert 'pre_commit_placeholder_package' in out
@xfailif_windows # pragma: win32 no cover