Sha256: 291ae456d3c246fcf80db0ed48a2cd0a16ce464bf943b81f81ddf60e513b5121
Contents?: true
Size: 532 Bytes
Versions: 4
Compression:
Stored size: 532 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"])[: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") end end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
rbfs-1.0.17 | spec/rbfs/rsync_spec.rb |
rbfs-1.0.16 | spec/rbfs/rsync_spec.rb |
rbfs-0.0.15 | spec/rbfs/rsync_spec.rb |
rbfs-0.0.14 | spec/rbfs/rsync_spec.rb |