Sha256: 2551ae779e89984c29672062d135f1b5bce7607f49037112cb8075086548a555
Contents?: true
Size: 523 Bytes
Versions: 8
Compression:
Stored size: 523 Bytes
Contents
require 'rbfs/rsync' describe Rbfs::Rsync do it "should run_command" do Rbfs::Rsync.new.run_command("echo test").should eql("test\n") end it "should run_command block" do Rbfs::Rsync.new.run_command("echo test") do |io| io.read.should eql("test\n") end end it "should command" do Rbfs::Rsync.new.command("echo", ["test"]).should eql("test\n") end it "should command block" do Rbfs::Rsync.new.command("echo", ["test"]) do |io| io.read.should eql("test\n") end end end
Version data entries
8 entries across 8 versions & 1 rubygems