Method: Fitting::Report::Responses#join

Defined in:
lib/fitting/report/responses.rb

#join(tests) ⇒ Object



18
19
20
21
22
23
24
25
# File 'lib/fitting/report/responses.rb', line 18

def join(tests)
  tests.to_a.map do |test|
    if there_a_suitable_response?(test)
      cram_into_the_appropriate_response(test)
      test.mark_response
    end
  end
end