Sha256: 707c710ca7dafe5fa33514180c52ff2a9c56f8fce36d9c8fe9185bc6a4e3b9c8
Contents?: true
Size: 569 Bytes
Versions: 24
Compression:
Stored size: 569 Bytes
Contents
require File.dirname(__FILE__) + "/../test_helper" unit_tests do test "number_of_workers is determined by options" do workers = DeepTest::LocalWorkers.new( DeepTest::Options.new(:number_of_workers => 4) ) assert_equal 4, workers.number_of_workers end test "load_files simply loads each file provided" do workers = DeepTest::LocalWorkers.new( DeepTest::Options.new(:number_of_workers => 4) ) workers.expects(:load).with(:file_1) workers.expects(:load).with(:file_2) workers.load_files([:file_1, :file_2]) end end
Version data entries
24 entries across 24 versions & 4 rubygems