spec/rbfs/rsync_spec.rb in rbfs-0.0.10 vs spec/rbfs/rsync_spec.rb in rbfs-0.0.14

- old
+ new

@@ -10,10 +10,10 @@ io.read.should eql("test\n") end end it "should command" do - Rbfs::Rsync.new.command("echo", ["test"]).should eql("test\n") + Rbfs::Rsync.new.command("echo", ["test"])[:output].should eql("test\n") end it "should command block" do Rbfs::Rsync.new.command("echo", ["test"]) do |io| io.read.should eql("test\n")