Refactor #12098
closed
Dangling Fog.unmock! makes compute_resource_vms fail
Added by Daniel Lobato Garcia over 9 years ago.
Updated over 6 years ago.
Description
test/unit/compute_resource_test.rb contains a Fog.mock! without a Fog.unmock!. This causes test/functional/compute_resource_vms_controller_test.rb to fail only when ran through rake test on Rails 4. Fix is as simple as adding the missing unmock!.
- Status changed from New to Ready For Testing
- Pull request https://github.com/theforeman/foreman/pull/2796 added
- Pull request deleted (
)
- Category changed from Rails to Tests
- Translation missing: en.field_release set to 71
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Also available in: Atom
PDF