aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/test/spec_helper.rb
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Homebrew/test/spec_helper.rb')
-rw-r--r--Library/Homebrew/test/spec_helper.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/Library/Homebrew/test/spec_helper.rb b/Library/Homebrew/test/spec_helper.rb
index 865342ddf..cba530736 100644
--- a/Library/Homebrew/test/spec_helper.rb
+++ b/Library/Homebrew/test/spec_helper.rb
@@ -75,6 +75,10 @@ RSpec.configure do |config|
skip "Requires network connection." unless ENV["HOMEBREW_TEST_ONLINE"]
end
+ config.before(:each, :needs_svn) do
+ skip "Requires subversion." unless which "svn"
+ end
+
config.around(:each) do |example|
def find_files
Find.find(TEST_TMPDIR)