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

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

Build:
Build:
LAST BUILD BRANCH: dependabot/bundler/json-2.18.1
DEFAULT BRANCH: develop
Ran 20 Jan 2017 10:52AM UTC
Files 201
Run time 10s
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.271% (+0.06%) from 93.215%
2.1.5

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.

8344 of 8946 relevant lines covered (93.27%)

450.33 hits per line

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