diff options
author | Jamis Buck <jamis@37signals.com> | 2005-08-27 14:42:58 +0000 |
---|---|---|
committer | Jamis Buck <jamis@37signals.com> | 2005-08-27 14:42:58 +0000 |
commit | 959e06a0fc1dd3b85aeb5d0d005eff2a02eb547e (patch) | |
tree | 0e141dd1f36a31edd6c3683bbc08df5956f1e520 /switchtower/test | |
parent | b80f0e2ff3a51e6166e4e29b87a7380f42529e7a (diff) | |
download | rails-959e06a0fc1dd3b85aeb5d0d005eff2a02eb547e.tar.gz rails-959e06a0fc1dd3b85aeb5d0d005eff2a02eb547e.tar.bz2 rails-959e06a0fc1dd3b85aeb5d0d005eff2a02eb547e.zip |
SwitchTower: log checkouts to a "revisions.log" file
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2060 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'switchtower/test')
-rw-r--r-- | switchtower/test/utils.rb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/switchtower/test/utils.rb b/switchtower/test/utils.rb index b483f0c005..4ddfbdbad1 100644 --- a/switchtower/test/utils.rb +++ b/switchtower/test/utils.rb @@ -22,6 +22,11 @@ class MockLogger end class MockConfiguration < Hash + def initialize(*args) + super + self[:release_path] = "/path/to/releases/version" + end + def logger @logger ||= MockLogger.new end |