Coveralls logob
Coveralls logo
  • Home
  • Features
  • Pricing
  • Docs
  • Sign In

fog / fog-ecloud / 89

DEFAULT BRANCH: master
Build:
LAST BUILD BRANCH: fog-core-2-compat
Repo Added 24 Nov 2014 01:24AM UTC
Total Files 232
# Builds 69 Last
Badge
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

13 Feb 2019 - 16:21 First build on fog-core-2-compat at 56.312%
89

Pull #20

travis-ci

9181eb84f9c35729a3bad740fb7f9d93?size=18&default=identiconweb-flow
Allow server to accept HardwareConfiguration object as well as Hash.

When running with fog-core 2.x, the test suite fails as follows:

~~~
    Initialization parameters must be an attributes hash, got Fog::Compute::Ecloud::HardwareConfiguration     <Fog::Compute::Ecloud::HardwareConfiguration
      href=nil,
      processor_count=0,
      memory=nil,
      storage=nil,
      network_cards=nil
    > (ArgumentError)
      /usr/share/gems/gems/fog-core-2.1.2/lib/fog/core/collection.rb:86:in `new'
      /builddir/build/BUILD/fog-ecloud-0.3.0/usr/share/gems/gems/fog-ecloud-0.3.0/lib/fog/compute/ecloud/models/server.rb:50:in `hardware_configuration='
~~~

This is due to https://github.com/fog/fog-core/pull/218/files and it
seems reasonable to me to accept Hash as well as the
HardwareConfiguraiton object on that place.
Pull Request #20: Allow server to accept HardwareConfiguration object as well as Hash.

0 of 1 new or added line in 1 file covered. (0.0%)

2391 of 4246 relevant lines covered (56.31%)

0.65 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
30.69
lib/fog/compute/ecloud/models/server.rb
Jobs
Coverage Job Files Covered Ran
56.31
89.5 (2.1.4, COVERAGE=true, gemfiles/Gemfile.1.9.3+) 232 13 Feb 2019 04:24PM UTC Travis Job 89.5
Source Files on build 89
  • Tree
  • List 232
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Travis Build #89
  • Pull Request #20
Troubleshooting · Open an Issue · Sales · Support · ENTERPRISE · CAREERS · STATUS
BLOG · TWITTER · Legal & Privacy · Supported CI Services · What's a CI service? · Automated Testing

© 2021 Coveralls, Inc