Project

General

Profile

Actions

Refactor #12098

closed

Dangling Fog.unmock! makes compute_resource_vms fail

Added by Daniel Lobato Garcia over 8 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Normal
Category:
Tests
Target version:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

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!.


Related issues 1 (0 open1 closed)

Related to Foreman - Tracker #3157: Rails 4.1 upgrade tasksClosed09/27/2013

Actions
Actions #1

Updated by Daniel Lobato Garcia over 8 years ago

Actions #2

Updated by The Foreman Bot over 8 years ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/foreman/pull/2796 added
  • Pull request deleted ()
Actions #3

Updated by Dominic Cleal over 8 years ago

  • Category changed from Rails to Tests
  • translation missing: en.field_release set to 71
Actions #4

Updated by Daniel Lobato Garcia over 8 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100
Actions

Also available in: Atom PDF