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

fog / fog-openstack / 474
98%

Build:
DEFAULT BRANCH: master
Ran 19 Sep 2016 05:24PM UTC
Jobs 8
Files 1022
Run time 5min
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
474

Pull #170

travis-ci

web-flow
Fix image_v2 update and identity

- This removes the workaround which always set `identity` to nil for image_v2 models
  - This fixes methods such as `reload` which rely on a valid identity
- Update `save` to call `create` in the `self` attribute is not present, otherwise call `update`
- if `update` is not passed any args, it will pull current object values from the server to
  construct the json PATCH
  - This is more consistent with the `update` API elsewhere in the codebase
- Update identity_v3_spec to use VCR variables if `use_recorded` is true
  - Made all config variables in `shared_context` attr_readers so they could be referenced in other spec files
  - Before this change, this test would attempt to hit real endpoints if any
    `OS_` environment variables were set, even if `use_recorded` was true
- Mark several environment variables as required in image_v2_upload_spec
  - Since this test always needs to run against a real endpoint, we shouldn't default
    username and password to dummy values as it will cause a more confusing failure later on
  - Also swap `eq` for `must_equal` to be more consistent with rest of the codebase

Signed-off-by: Brian Cunnie <bcunnie@pivotal.io>
Pull Request #170: Make image_v2 models more consistent with Fog API

16372 of 17561 relevant lines covered (93.23%)

56.85 hits per line

Jobs
ID Job ID Ran Files Coverage
1 474.1 (JRUBY_OPTS=--debug) 19 Sep 2016 05:24PM UTC 0
93.88
Travis Job 474.1
2 474.2 (1.9.3, JRUBY_OPTS=--debug, gemfiles/Gemfile-1.9) 19 Sep 2016 05:25PM UTC 0
93.89
Travis Job 474.2
3 474.3 (2.0.0, JRUBY_OPTS=--debug, Gemfile) 19 Sep 2016 05:24PM UTC 0
93.89
Travis Job 474.3
4 474.4 (2.1.0, JRUBY_OPTS=--debug, Gemfile) 19 Sep 2016 05:24PM UTC 0
93.88
Travis Job 474.4
5 474.5 (2.1.1, JRUBY_OPTS=--debug, Gemfile) 19 Sep 2016 05:24PM UTC 0
93.89
Travis Job 474.5
6 474.6 (2.2.0, JRUBY_OPTS=--debug, Gemfile) 19 Sep 2016 05:25PM UTC 0
93.89
Travis Job 474.6
7 474.7 (2.3.0, JRUBY_OPTS=--debug, Gemfile) 19 Sep 2016 05:26PM UTC 0
93.88
Travis Job 474.7
8 474.8 (jruby-19mode, JRUBY_OPTS=--debug, gemfiles/Gemfile-1.9) 19 Sep 2016 05:27PM UTC 0
93.45
Travis Job 474.8
Source Files on build 474
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #474
  • Pull Request #170
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