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

hypothesis / h / 8538 / 1
68%
master: 97%

Build:
Build:
LAST BUILD BRANCH: realtime-update-v1-h-only-1
DEFAULT BRANCH: master
Ran 12 Oct 2015 04:33PM UTC
Files 88
Run time 3s
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

12 Oct 2015 04:29PM UTC coverage: 67.766% (-0.2%) from 67.925%
8538.1

push

travis-ci

nickstenning
Validate reset codes with custom type

Using the schema mapping validator to read the reset code and look up
the user in the database has one major disadvantage: the mapping
validator is not called until each individual field in the form
validates. This means that if you submit an incorrect code at the same
time as an incorrect password, you won't be informed that the code is
incorrect.

This commit addresses this problem by creating a custom schema type,
`ResetCode`, which bears the responsibility of transforming a reset code
into a user and back again for the form.

2487 of 3670 relevant lines covered (67.77%)

0.68 hits per line

Source Files on job 8538.1
  • Tree
  • List 0
  • Changed 2
  • Source Changed 2
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 8538
  • Travis Job 8538.1
  • f57aec52 on github
  • Prev Job for on replace-accounts-forms (#8514.1)
  • Next Job for on replace-accounts-forms (#8540.1)
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