Sha256: f0d2dba6e845cebb7415f3c8d93edda94c330d71b9d830e354fa09c828905f7c
Contents?: true
Size: 265 Bytes
Versions: 1
Compression:
Stored size: 265 Bytes
Contents
require "pty" describe "PTY.spawn" do before(:each) do @read, @write, @pid = PTY.spawn end it "allows reading from the first IO, and writing from the second IO" do @write.puts "sshao was here" @read.gets.should == "sshao was here\r\n" end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
rubysl-pty-2.0.3 | spec/spawn_spec.rb |