Skip test_validate_gemspec unless git installed
This commit is contained in:
parent
7585bc3187
commit
9d3213ac85
@ -4,6 +4,7 @@ require 'rubygems'
|
||||
class TestDefaultGems < Test::Unit::TestCase
|
||||
|
||||
def test_validate_gemspec
|
||||
skip "git not found" unless system("git", "--version", %i[out err]=>IO::NULL)
|
||||
srcdir = File.expand_path('../../..', __FILE__)
|
||||
Dir.glob("#{srcdir}/{lib,ext}/**/*.gemspec").map do |src|
|
||||
assert_nothing_raised do
|
||||
|
Loading…
x
Reference in New Issue
Block a user