loading
Generated 2026-03-17T21:42:24+01:00

All Files ( 100.0% covered at 3.22 hits/line )

1 files in total.
9 relevant lines, 9 lines covered and 0 lines missed. ( 100.0% )
6 total branches, 6 branches covered and 0 branches missed. ( 100.0% )
File % covered Lines Relevant Lines Lines covered Lines missed Avg. Hits / Line Branch Coverage Branches Covered branches Missed branches
path_coverage/application_fund_review.rb 100.00 % 13 9 9 0 3.22 100.00 % 6 6 0

path_coverage/application_fund_review.rb

100.0% lines covered

100.0% branches covered

9 relevant lines. 9 lines covered and 0 lines missed.
6 total branches, 6 branches covered and 0 branches missed.
    
  1. 1 Application = Struct.new(:founders_hustling?, :grinding_mode)
  2. 1 def millions_to_invest(application)
  3. 5 count = 0
  4. 5 then: 1 if application.grinding_mode == :performative
  5. 1 else: 4 count = 2
  6. 4 then: 2 else: 2 elsif application.grinding_mode == :real
  7. 2 count = 1
  8. end
  9. 5 then: 3 else: 2 count += 2 if application.founders_hustling?
  10. 5 count
  11. end