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

MediaComem / biopocket-backend / 153 / 2
92%
master: 92%

Build:
Build:
LAST BUILD BRANCH: story-2-user-registration
DEFAULT BRANCH: master
Ran 01 Jun 2018 07:59AM UTC
Files 68
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

01 Jun 2018 07:57AM UTC coverage: 92.717% (+0.2%) from 92.55%
NODE_ENV=test SESSION_SECRET=secret

Pull #19

travis-ci

web-flow
Add new API route to retrieve single action

Add a new GET /api/actions/:id route to the API that allows users to retrieve
a single Action based on its ID.
This route implements the `only`/`except` pattern to whitelist/blacklist
properties.

Update the documentation to reflect the new API route.
The previous Action model has been split into two models : an
Action model that lists all the properties that a complete Action
can have (that includes all its relations), and an ActionPartial model
that inherits Action but overrides properties that are optionnal.
This ActionPartial model is used for example in the GET /api/locations
route to indicates that the relation properties (like theme) are only
present when explicitly asked for using the `include` query parameter.

Fix some responses examples in the documentation that were missing
metadata.

Add tests for the new route.
Update existing test methods for better understanding.

Fix some misc issue, documentation and typo.

STORY : TG-55

Fixed issue and missing documentation

Fixed typo

Enhance readability of asynchronicity

Enhance readability on test

Fixed bad naming and enhance readability

Added a new route to retrieve a single location

Also added tests for this new route.

Added documentation for the API route

Fix missing headers in some responses examples.

Created two models for Action : one which have all properties, and
another, with inherits the first, that overrides properties that are
optional.
Pull Request #19: Add new API route to retrieve single action

462 of 567 branches covered (81.48%)

Branch coverage included in aggregate %.

1995 of 2083 relevant lines covered (95.78%)

41.03 hits per line

Source Files on job 153.2 (NODE_ENV=test SESSION_SECRET=secret)
  • Tree
  • List 0
  • Changed 20
  • Source Changed 8
  • Coverage Changed 19
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 145
  • Travis Job 153.2
  • 7710392c on github
  • Prev Job for NODE_ENV=test SESSION_SECRET=secret on add-actions-route (#150.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