diff options
author | Kazuhiro NISHIYAMA <zn@mbf.nifty.com> | 2019-11-11 19:03:43 +0900 |
---|---|---|
committer | Kazuhiro NISHIYAMA <zn@mbf.nifty.com> | 2019-11-11 19:03:43 +0900 |
commit | 9d3213ac856e1f5930bda555d4d65b173c6cdf83 (patch) | |
tree | 018bff0151b583fa6808a371c9f879c788fcbdc4 /test/ruby/test_default_gems.rb | |
parent | 7585bc31877d4f9725f8de51b4a2faf47acb6f34 (diff) |
Skip test_validate_gemspec unless git installed
Diffstat (limited to 'test/ruby/test_default_gems.rb')
-rw-r--r-- | test/ruby/test_default_gems.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/ruby/test_default_gems.rb b/test/ruby/test_default_gems.rb index 837f7571ea..f29b17fd5b 100644 --- a/test/ruby/test_default_gems.rb +++ b/test/ruby/test_default_gems.rb @@ -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 |