test/spec_helper: fix needs_svn.
Use the shim to find a valid Subversion.
This commit is contained in:
parent
58cc7dd96c
commit
c250227750
@ -129,6 +129,8 @@ RSpec.configure do |config|
|
||||
end
|
||||
|
||||
config.before(:each, :needs_svn) do
|
||||
skip "subversion not installed." unless quiet_system "#{HOMEBREW_SHIMS_PATH}/scm/svn", "--version"
|
||||
|
||||
svn_paths = PATH.new(ENV["PATH"])
|
||||
if OS.mac?
|
||||
xcrun_svn = Utils.popen_read("xcrun", "-f", "svn")
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user