Method: Fitting::Report::Actions#cram_into_the_appropriate_action

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

#cram_into_the_appropriate_action(test) ⇒ Object



34
35
36
37
38
39
40
41
# File 'lib/fitting/report/actions.rb', line 34

def cram_into_the_appropriate_action(test)
  @actions.map do |action|
    if test.method == action.method && action.path_match(test.path)
      action.add_test(test)
      break
    end
  end
end