require File.expand_path(File.dirname(__FILE__) + '/spec_helper') describe "QueueToTheFuture" do it "should work" do start = Time.now.to_f f = Future(1, 2, 3) do |*args| sleep(0.1); args end QueueToTheFuture::Coordinator.instance.workforce_size.should be(1) f.inspect.should match(/^#