Sha256: 4d2ecff8e556e5bfa09c864887d22682ff9be7e656b34b0f52605c049de7ef10
Contents?: true
Size: 598 Bytes
Versions: 2
Compression:
Stored size: 598 Bytes
Contents
require File.dirname(__FILE__) + '/../test_helper' unit_tests do test "take result waits 30 seconds before timing out" do blackboard = DeepTest::RindaBlackboard.new(DeepTest::Options.new({}), tuple_space = stub) tuple_space.expects(:take).with(["test_result", nil], 30).returns([]) blackboard.take_result end test "take test waits 30 seconds before timing out" do blackboard = DeepTest::RindaBlackboard.new(DeepTest::Options.new({}), tuple_space = stub) tuple_space.expects(:take).with(["deep_work", nil], 30).returns([nil, "String"]) blackboard.take_work end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
deep_test-1.1.4 | test/deep_test/rinda_blackboard_test.rb |
deep_test-1.1.3 | test/deep_test/rinda_blackboard_test.rb |