public
Description: Pure Ruby implementation of the SCP protocol
Homepage: http://rubyforge.org/projects/net-ssh
Clone URL: git://github.com/jamis/net-scp.git
Search Repo:
fix tests to work with latest version of mocha
jamis (author)
Thu May 01 21:13:05 -0700 2008
commit  5b512cf084b76444dca1c7face0e84a10694c263
tree    079aa6f1253ea7f1650ff5b986158cd5d040336b
parent  35217659d6b7f1d95d9aa0d30f1532fcead8651e
...
67
68
69
70
 
71
72
73
...
107
108
109
110
 
111
112
113
...
67
68
69
 
70
71
72
73
...
107
108
109
 
110
111
112
113
0
@@ -67,7 +67,7 @@
0
       end
0
 
0
       def stub!
0
- stat = Mocha::Mock.new(false, "file::stat")
0
+ stat = Mocha::Mock.new("file::stat")
0
         stat.stubs(:size => contents.length, :mode => mode, :mtime => mtime, :atime => atime, :directory? => false)
0
 
0
         File.stubs(:stat).with(path).returns(stat)
0
@@ -107,7 +107,7 @@
0
       def stub!
0
         Dir.stubs(:mkdir).with { |*a| a.first == path }
0
 
0
- stat = Mocha::Mock.new(false, "file::stat")
0
+ stat = Mocha::Mock.new("file::stat")
0
         stat.stubs(:size => 1024, :mode => mode, :mtime => mtime, :atime => atime, :directory? => true)
0
 
0
         File.stubs(:stat).with(path).returns(stat)

Comments

    No one has commented yet.