Sha256: 8f3b90e5e39d237e99bb7da03154c6897819296ed5c4cf27af6f90ca155d6975
Contents?: true
Size: 375 Bytes
Versions: 6
Compression:
Stored size: 375 Bytes
Contents
require 'rjobs/process' describe Rjobs::Process do it "can execute a simple command" do cmd = "echo Hello World!" #cmd = "ls" Rjobs::Process.run(cmd).should == "Hello World!\n" end it "should have stdout attribute" do cmd = "echo Hello World!" #cmd = "ls" output = Rjobs::Process.run(cmd) output.should == "Hello World!\n" end end
Version data entries
6 entries across 6 versions & 1 rubygems