whimsical-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject [whimsy] branch master updated: How to override
Date Thu, 24 Oct 2019 11:17:05 GMT
This is an automated email from the ASF dual-hosted git repository.

sebb pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/whimsy.git


The following commit(s) were added to refs/heads/master by this push:
     new cc6a111  How to override
cc6a111 is described below

commit cc6a1112f968ed6384271fb13cdef25235770cdd
Author: Sebb <sebb@apache.org>
AuthorDate: Thu Oct 24 12:16:56 2019 +0100

    How to override
---
 lib/spec/spec_helper.rb | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/lib/spec/spec_helper.rb b/lib/spec/spec_helper.rb
index 17b405b..f48d0f7 100644
--- a/lib/spec/spec_helper.rb
+++ b/lib/spec/spec_helper.rb
@@ -11,7 +11,11 @@ else
   TEST_DATA = false
 end
 
-puts "TEST_DATA=#{TEST_DATA}"
+if TEST_DATA
+  puts "TEST_DATA=#{TEST_DATA}"
+else
+  puts "TEST_DATA=#{TEST_DATA} (set RAKE_TEST=TRUE to override)"
+end
 
 unless defined?(SPEC_ROOT)
   SPEC_ROOT = File.join(File.dirname(__FILE__))


Mime
View raw message