Sha256: 89e6c8cfbfd728d9d2baad192ed97e3ca5718eea247c116e788df0f9ef502f74

Contents?: true

Size: 275 Bytes

Versions: 2

Compression:

Stored size: 275 Bytes

Contents

require "spec/helper/all"

describe EventMachine::Synchrony do

  it "system: simple" do
    EM.synchrony do
      out, status = EM::Synchrony.system("echo 'some'")
      
      status.should == 0
      out.should == "some\n"
      
      EM.stop    
    end
  end
  
  
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
em-synchrony-1.0.4 spec/system_spec.rb
em-synchrony-1.0.3 spec/system_spec.rb