Sha256: df76c384c80af94eb14eafe7f929778d5cb6cb5130f97903a461105317ef37e4
Contents?: true
Size: 373 Bytes
Versions: 4
Compression:
Stored size: 373 Bytes
Contents
module Bacon class Context include ::Elevate end end describe Elevate do describe "#async" do it "runs the specified interactor asynchronously" do async Target.new() do on_completed do |operation| @called = true resume end end wait_max 1.0 do @called.should.be.true end end end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
elevate-0.3.3 | spec/api_spec.rb |
elevate-0.3.2 | spec/api_spec.rb |
elevate-0.3.1 | spec/api_spec.rb |
elevate-0.3 | spec/api_spec.rb |