test/tc/copy.rb in rio-0.3.3 vs test/tc/copy.rb in rio-0.3.4
- old
+ new
@@ -36,10 +36,10 @@
txt = "Hello f1.txt"
sd1.join('f1.txt').puts(txt).close
oline = rio(datadir,'dir1/sd1/f1.txt').readline
dir2 = rio(datadir,'dir2').rmtree.mkpath
- sd1.copy(dir2)
+ sd1.copy_to(dir2)
nline = rio(datadir,'dir2/sd1/f1.txt').readline
assert_equal(oline,nline)
dir2 = rio(datadir,'dir2').rmtree.mkpath
sd1 > dir2