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

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

1 files in total.
8 relevant lines, 8 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
branch_coverage/application_fund_review.rb 100.00 % 12 8 8 0 1.88 100.00 % 6 6 0

branch_coverage/application_fund_review.rb

100.0% lines covered

100.0% branches covered

8 relevant lines. 8 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. 3 then: 1 if application.grinding_mode == :performative
  4. 1 else: 2 count = 2
  5. 2 then: 1 else: 1 elsif application.grinding_mode == :real
  6. 1 count = 1
  7. end
  8. 3 then: 2 else: 1 count += 2 if application.founders_hustling?
  9. 3 count.to_i
  10. end