aboutsummaryrefslogtreecommitdiffstats
path: root/switchtower/test/scm/subversion_test.rb
diff options
context:
space:
mode:
Diffstat (limited to 'switchtower/test/scm/subversion_test.rb')
-rw-r--r--switchtower/test/scm/subversion_test.rb20
1 files changed, 1 insertions, 19 deletions
diff --git a/switchtower/test/scm/subversion_test.rb b/switchtower/test/scm/subversion_test.rb
index 47942d9b9c..fa65714b6b 100644
--- a/switchtower/test/scm/subversion_test.rb
+++ b/switchtower/test/scm/subversion_test.rb
@@ -1,28 +1,10 @@
$:.unshift File.dirname(__FILE__) + "/../../lib"
+require File.dirname(__FILE__) + "/../utils"
require 'test/unit'
require 'switchtower/scm/subversion'
class ScmSubversionTest < Test::Unit::TestCase
- class MockLogger
- def info(msg,pfx=nil) end
- def debug(msg,pfx=nil) end
- end
-
- class MockConfiguration < Hash
- def logger
- @logger ||= MockLogger.new
- end
-
- def method_missing(sym, *args)
- if args.length == 0
- self[sym]
- else
- super
- end
- end
- end
-
class SubversionTest < SwitchTower::SCM::Subversion
attr_accessor :story
attr_reader :last_path