Sha256: 047e18f5c2c1169ea69db8ea0a0697d5604662d3f381b20abd117df0f4e252ef

Contents?: true

Size: 667 Bytes

Versions: 1

Compression:

Stored size: 667 Bytes

Contents

require File.expand_path(File.dirname(__FILE__) + '/spec_helper')

describe "Keeper" do
  describe "#wait_for" do
    context "new event" do
      it "should create the event signaller"
      it "should register the calling thread as waiting"
    end
    
    context "existing event" do
      it "should re-use the existing signaller"
      it "should not affect any other waiting threads"
      it "should register the the calling thread as waiting"
    end
  end
  
  describe "#fire" do
    context "existing event" do
      it "should release all listeners"
    end
    
    context "non-existing event" do
      it "should not cause an error"
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
keeper-1.0.0 spec/keeper_spec.rb