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

mjacobus / khtools / 33521267514
77%

Build:
DEFAULT BRANCH: master
Ran 01 Sep 2026 02:46PM UTC
Jobs 1
Files 206
Run time 1min
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

01 Sep 2026 02:43PM UTC coverage: 75.1%. Remained the same
33521267514

push

github

mjacobus
Cover the Google OAuth login flow end to end

faraday and jwt both crossed a major version on the login path, and
sessions_controller_spec stubs UserSessionService entirely, so nothing
in the suite would have noticed the stack breaking.

This drives the real request and callback phases through
OmniAuth::Strategies::GoogleOauth2 -> omniauth-oauth2 -> oauth2 ->
faraday, and back through jwt for the id_token. Only the network is
faked, via a Faraday test adapter injected through
client_options[:connection_build]. The callback carries the state
omniauth generated during the request phase rather than one forced
into the session.

Verified the assertions can fail: returning 401 from the token
endpoint raises OAuth2::Error, and changing the userinfo `sub` fails
the uid expectation.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>

2621 of 3490 relevant lines covered (75.1%)

28.64 hits per line

Jobs
ID Job ID Ran Files Coverage
1 33521267514.1 01 Sep 2026 02:46PM UTC 206
75.1
GitHub Action Run
Source Files on build 33521267514
  • Tree
  • List 206
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 51061b8e on github
  • Prev Build on master (#33103470700)
  • Next Build on master (#33639447754)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc