• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

MushroomObserver / mushroom-observer / 23497009014

24 Mar 2026 03:14PM UTC coverage: 96.099% (-0.006%) from 96.105%
23497009014

Pull #3988

github

mo-nathan
Add coverage tests to match main at 96.1%

Coverage: 96.1% (35844/37298) on branch vs 96.11% on main.

New component tests:
- OccurrenceEditFormTest (10 tests)
- OccurrenceResolveFormTest (3 tests)
- OccurrenceResolveModalTest (2 tests)
- OccurrenceFormTest: added field_slip_link test

Consolidated into existing test files:
- occurrence_test.rb: +37 logging tests, +14 project gap tests,
  +15 dissolve/refresh/merge tests (from deleted
  occurrence_logging_test.rb and occurrence_project_gaps_test.rb)
- merged_naming_test.rb: +11 coverage tests for user, can_edit?,
  vote_percent, created_at, primary_naming
- occurrences_test.rb (API): +13 tests for PATCH merge, explicit
  primary, DELETE with field_slip, multiple occurrences error
- occurrences_controller_test.rb: +18 tests for create error
  paths, project confirmation, edit attributes, resolve_projects
- field_slips_controller_test.rb: +7 observation handling tests

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Pull Request #3988: Add Occurrence model and migration (#3808)

1528 of 1580 new or added lines in 55 files covered. (96.71%)

4 existing lines in 3 files now uncovered.

35843 of 37298 relevant lines covered (96.1%)

667.24 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

95.6
/app/controllers/api2_controller.rb


Source Not Available

STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc