lib/knapsack/allocator_builder.rb in knapsack-1.1.1 vs lib/knapsack/allocator_builder.rb in knapsack-1.2.0
- old
+ new
@@ -12,9 +12,13 @@
ci_node_total: Knapsack::Config::Env.ci_node_total,
ci_node_index: Knapsack::Config::Env.ci_node_index
})
end
+ def test_dir
+ test_file_pattern.split('/').first
+ end
+
private
def set_report_path
Knapsack.report.config({
report_path: report_path