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

codeforamerica / ohana-api / 611
99%
master: 99%

Build:
Build:
LAST BUILD BRANCH: mb-update-factory-bot
DEFAULT BRANCH: master
Ran 08 Oct 2014 04:18AM UTC
Jobs 1
Files 64
Run time 27s
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

pending completion
611

push

travis-ci

monfresh
Add alternate name and virtual fields to Location.

The `virtual` field is a boolean meant to specify whether or not the
location has a physical address. This will allow “virtual” locations to
be saved without requiring them to have an address. This validation
change will be implemented in a separate commit.

In addition to adding those two new fields, I cleaned up the Location
model, and fixed two issues with geocoding:

- When an address was removed from a location, the location’s
coordinates weren’t being reset. The spec that was testing this was not
written properly. This has now been moved to an `after_destroy`
callback in the Address model, so that this only gets called when
necessary, as opposed to every time the Location is validated.

- When an address was updated via the API, the location’s coordinates
were not being updated because the location itself wasn’t being saved
(touching does not trigger `after_validation`).

933 of 941 relevant lines covered (99.15%)

53.7 hits per line

Jobs
ID Job ID Ran Files Coverage
1 611.1 (2.1.2) 08 Oct 2014 04:18AM UTC 0
99.15
Travis Job 611.1
Source Files on build 611
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #611
  • 5acb4cc6 on github
  • Prev Build on add-additional-fields (#605)
  • Next Build on add-additional-fields (#612)
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