You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@buildr.apache.org by as...@apache.org on 2009/07/07 02:47:58 UTC

svn commit: r791661 - /buildr/trunk/spec/core/transport_spec.rb

Author: assaf
Date: Tue Jul  7 00:47:58 2009
New Revision: 791661

URL: http://svn.apache.org/viewvc?rev=791661&view=rev
Log:
Fixed spec issue encountered under Net::SFTP 2.0.2.

Modified:
    buildr/trunk/spec/core/transport_spec.rb

Modified: buildr/trunk/spec/core/transport_spec.rb
URL: http://svn.apache.org/viewvc/buildr/trunk/spec/core/transport_spec.rb?rev=791661&r1=791660&r2=791661&view=diff
==============================================================================
--- buildr/trunk/spec/core/transport_spec.rb (original)
+++ buildr/trunk/spec/core/transport_spec.rb Tue Jul  7 00:47:58 2009
@@ -511,7 +511,7 @@
   end
 
   it 'should create missing paths on server' do
-    @sftp_session.should_receive(:opendir!).twice { |path| fail unless path == '/root' }
+    @sftp_session.should_receive(:opendir!) { |path| fail unless path == '/root' }
     @sftp_session.should_receive(:mkdir!).once.with('/root/path', {})
     @uri.write @content
   end