Sha256: f527903ba2b5be31eb51fc885ffc49433d9a062f426cd9805936b404335e4916

Contents?: true

Size: 253 Bytes

Versions: 2

Compression:

Stored size: 253 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.6 spec/system_spec.rb
em-synchrony-1.0.5 spec/system_spec.rb