app/models/full_revision.rb in sw2at-ui-0.0.9 vs app/models/full_revision.rb in sw2at-ui-0.0.10
- old
+ new
@@ -29,10 +29,10 @@
private
def merge(revision, tests, update_status=false)
revision.nested_threads.each do |th|
- th.tests = tests.select{|test| test.thread_id.to_s == th.thread_id.to_s }
+ th.tests = tests.select{|test| test.thread_id.to_s == th.thread_id.to_s }.map{|test| test.thread_name = th.thread_name; test }
end
assign_status(revision, update_status)
revision
end
\ No newline at end of file