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

codeforamerica / ohana-api / 453
57%
master: 99%

Build:
Build:
LAST BUILD BRANCH: mb-update-factory-bot
DEFAULT BRANCH: master
Ran 04 Jul 2014 02:49AM UTC
Jobs 1
Files 2195
Run time 14min
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
453

push

travis-ci

Moncef Belyamani
Allow admins to update locations

This commit includes the following features from the standalone interface:

- ability to delete a location, with modal window warning
- ability to dynamically add fields via JS for contacts, faxes, phones, address, mail address, websites, emails, and admin emails
- CSS styling for edit location form
- admin and super admin authorization to control who gets to see which locations

Other changes:

- move custom JSON errors when rescuing from Rails errors to a controller concern within the API namespace so that they don't get triggered within the admin namespace.

114 of 114 new or added lines in 15 files covered. (100.0%)

58023 of 102885 relevant lines covered (56.4%)

313.29 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
3
100.0
app/decorators/admin/admin_decorator.rb
10
100.0
app/controllers/admin/locations_controller.rb

Uncovered Existing Lines

Lines Coverage ∆ File
1
100.0
.bundle/ruby/2.1.0/gems/activesupport-4.1.2/lib/active_support/logger.rb
1
100.0
app/controllers/admin/locations_controller.rb
2
100.0
.bundle/ruby/2.1.0/gems/devise-3.2.4/lib/devise/controllers/helpers.rb
3
100.0
.bundle/ruby/2.1.0/gems/actionpack-4.1.2/lib/action_controller/metal/instrumentation.rb
3
100.0
.bundle/ruby/2.1.0/gems/activerecord-4.1.2/lib/active_record/railties/controller_runtime.rb
3
100.0
.bundle/ruby/2.1.0/gems/actionmailer-4.1.2/lib/action_mailer/log_subscriber.rb
3
100.0
.bundle/ruby/2.1.0/gems/protected_attributes-1.0.8/lib/active_model/mass_assignment_security/sanitizer.rb
3
100.0
.bundle/ruby/2.1.0/gems/activesupport-4.1.2/lib/active_support/tagged_logging.rb
4
100.0
.bundle/ruby/2.1.0/gems/activesupport-4.1.2/lib/active_support/log_subscriber.rb
8
100.0
.bundle/ruby/2.1.0/gems/actionview-4.1.2/lib/action_view/log_subscriber.rb
9
100.0
.bundle/ruby/2.1.0/gems/activesupport-4.1.2/lib/active_support/backtrace_cleaner.rb
13
100.0
.bundle/ruby/2.1.0/gems/actionpack-4.1.2/lib/action_controller/log_subscriber.rb
17
100.0
.bundle/ruby/2.1.0/gems/activerecord-4.1.2/lib/active_record/log_subscriber.rb
Jobs
ID Job ID Ran Files Coverage
1 453.1 (2.1.1) 04 Jul 2014 02:49AM UTC 0
56.4
Travis Job 453.1
Source Files on build 453
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #453
  • a9bd7a1e on github
  • Prev Build on admin-interface (#452)
  • Next Build on admin-interface (#454)
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