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

fog / fog-openstack / 478
98%

Build:
DEFAULT BRANCH: master
Ran 20 Sep 2016 04:23PM UTC
Jobs 8
Files 1022
Run time 84min
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
478

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

16386 of 17574 relevant lines covered (93.24%)

57.3 hits per line

Jobs
ID Job ID Ran Files Coverage
1 478.1 (JRUBY_OPTS=--debug) 20 Sep 2016 04:24PM UTC 0
93.9
Travis Job 478.1
2 478.2 (1.9.3, JRUBY_OPTS=--debug, gemfiles/Gemfile-1.9) 20 Sep 2016 04:25PM UTC 0
93.9
Travis Job 478.2
3 478.3 (2.0.0, JRUBY_OPTS=--debug, Gemfile) 20 Sep 2016 04:24PM UTC 0
93.9
Travis Job 478.3
4 478.4 (2.1.0, JRUBY_OPTS=--debug, Gemfile) 20 Sep 2016 04:24PM UTC 0
93.9
Travis Job 478.4
5 478.5 (2.1.1, JRUBY_OPTS=--debug, Gemfile) 20 Sep 2016 04:24PM UTC 0
93.9
Travis Job 478.5
6 478.6 (2.2.0, JRUBY_OPTS=--debug, Gemfile) 20 Sep 2016 04:26PM UTC 0
93.89
Travis Job 478.6
7 478.7 (2.3.0, JRUBY_OPTS=--debug, Gemfile) 20 Sep 2016 04:25PM UTC 0
93.9
Travis Job 478.7
8 478.8 (jruby-19mode, JRUBY_OPTS=--debug, gemfiles/Gemfile-1.9) 20 Sep 2016 04:28PM UTC 0
93.47
Travis Job 478.8
Source Files on build 478
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #478
  • 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