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

mysociety / alaveteli / 5226 / 4
93%
develop: 37%

Build:
Build:
LAST BUILD BRANCH: dependabot/bundler/json-2.18.1
DEFAULT BRANCH: develop
Ran 20 Jan 2017 10:49AM UTC
Files 201
Run time 8s
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

20 Jan 2017 10:13AM UTC coverage: 93.26% (+0.01%) from 93.248%
2.3.0

push

travis-ci

stevenday
Use beginning_of_day rather than today to get start of day for embargoes.

I started to get spec failures locally which I believe are caused by using
`today` to set the embargo `publish_at` field. `today` returns a Date object,
so somewhere under the hood, Rails will convert this to a Time or DateTime
object - some part of that conversion process is not application time zone
aware, so on my system (which must have GMT set somewhere under the hood),
times incremented by 3 months were starting to have an hour taken off them
to account for BST. Using beginning_of_day to cast the Date to an
ActiveSupport::TimeWithZone resolves the errors.

8343 of 8946 relevant lines covered (93.26%)

450.47 hits per line

Source Files on job 5226.4 (2.3.0)
  • Tree
  • List 0
  • Changed 38
  • Source Changed 2
  • Coverage Changed 38
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 5226
  • Travis Job 5226.4
  • 18415a48 on github
  • Prev Job for 2.3.0 on alaveteli-pro-develop (#5217.4)
  • Next Job for 2.3.0 on alaveteli-pro-develop (#5228.4)
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