summaryrefslogtreecommitdiff
path: root/test/tc_restore.rb
diff options
context:
space:
mode:
authorPatrick J Cherry <patrick@bytemark.co.uk>2015-12-02 09:53:42 +0000
committerPatrick J Cherry <patrick@bytemark.co.uk>2015-12-02 09:53:42 +0000
commit2646474b9d25ca1368a39e93870e4f55b59a9ec7 (patch)
treeb3976104b907e7189c47703329bfd6dfa9c460af /test/tc_restore.rb
parentae22f27388aa110c5a61e178f80988cf73154eff (diff)
Fixed up tests to work.
I'd changed some of the arguments to the functions, and not updated the tests. So much for TDD..!
Diffstat (limited to 'test/tc_restore.rb')
-rw-r--r--test/tc_restore.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/tc_restore.rb b/test/tc_restore.rb
index f1e8b04..426c2b1 100644
--- a/test/tc_restore.rb
+++ b/test/tc_restore.rb
@@ -28,7 +28,7 @@ class RestoreTest < Test::Unit::TestCase
system("setfattr --name user.rsync.%stat -v \"41755 12,34 56:78\" #{File.join(@byteback_root, @snapshot, f)}")
end
- r = Byteback::Restore.find(@byteback_root, "/srv/foo.com/public/htdocs/*.html")
+ r = Byteback::Restore.find(@byteback_root, "*", "/srv/foo.com/public/htdocs/*.html")
r.list
end