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

NZOI / nztrain / 14636912757
38%

Build:
DEFAULT BRANCH: master
Ran 24 Apr 2025 08:24AM UTC
Jobs 1
Files 143
Run time 4min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

24 Apr 2025 08:22AM UTC coverage: 38.445% (+1.0%) from 37.437%
14636912757

push

github

web-flow
Remove unused actions on ContestRelationsController (#291)

Most of these actions were rendered unused in 2da020ef59c5, #destroy was
restored in 112b236cf63e and #update_year_level added in 00c9636d1364.
The rest of these actions seem to be dead code, so let's remove them!
Git history can always bring them back as needed, but none of the code
is particularly interesting so it'd be easy to rewrite, anyway.

I've also added specs to cover off the major functions of
contest_relations_controller, including some permission tests, and
ensured that there is at least a logged in user to slightly mitigate a
leak of information in the response differing between not_found and
unauthorised on ContestRelation objects.

7 of 8 new or added lines in 1 file covered. (87.5%)

2274 of 5915 relevant lines covered (38.44%)

5.78 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
90.48
90.48% app/controllers/contest_relations_controller.rb
Jobs
ID Job ID Ran Files Coverage
1 14636912757.1 24 Apr 2025 08:24AM UTC 143
38.44
GitHub Action Run
Source Files on build 14636912757
  • Tree
  • List 143
  • Changed 3
  • Source Changed 1
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #14636912757
  • 9186d69e on github
  • Prev Build on master (#14556575112)
  • Next Build on master (#14826112004)
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

© 2025 Coveralls, Inc