Sha256: 289c1b84b9647e89a42f6f7354168b6be4aef4dca437dd7d10908edc68d3c2bc
Contents?: true
Size: 297 Bytes
Versions: 1
Compression:
Stored size: 297 Bytes
Contents
require "helper/all" describe EM::Synchrony, "#sync" do it "returns immediately if the syncee already succeeded" do args = stub("args") Fiber.new { df = EM::DefaultDeferrable.new df.succeed args EM::Synchrony.sync(df).should == args }.resume end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
em-synchrony-1.0.0 | spec/synchrony_spec.rb |