whimsical-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ru...@apache.org
Subject [whimsy] branch master updated: rough in an empty svn test directory
Date Mon, 13 May 2019 02:53:26 GMT
This is an automated email from the ASF dual-hosted git repository.

rubys 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 38871d0  rough in an empty svn test directory
38871d0 is described below

commit 38871d046260dc53ffceef080c1afd21aaaf1587
Author: Sam Ruby <rubys@intertwingly.net>
AuthorDate: Sun May 12 22:49:46 2019 -0400

    rough in an empty svn test directory
    
    Now all that is needed is some test data.
    
    Sebb: Feel free to adjust the name of the directory as you see fit.
    
    Note: since the directory in question is read-only, checking in dummy
    data into git should be sufficient.  In the event that updating of svn
    data is needed for a test, see the calls to `svnadmin` in
    whimsy/board/agenda/Rakefile to see how a local repository can be created,
    populated with data, and have a working directory checked out locally.
---
 lib/spec/spec_helper.rb | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/lib/spec/spec_helper.rb b/lib/spec/spec_helper.rb
index 577cab0..f90936a 100644
--- a/lib/spec/spec_helper.rb
+++ b/lib/spec/spec_helper.rb
@@ -1,5 +1,8 @@
 $LOAD_PATH.unshift '/srv/whimsy/lib'
 
+require 'whimsy/asf'
+ASF::SVN['apmail_bin'] = File.expand_path('../test/svn/apmail_bin', __dir__)
+
 unless defined?(SPEC_ROOT)
   SPEC_ROOT = File.join(File.dirname(__FILE__))
 end


Mime
View raw message