You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@whimsical.apache.org by se...@apache.org on 2019/10/24 11:17:05 UTC

[whimsy] branch master updated: How to override

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 <se...@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__))