Project

General

Profile

Actions

Bug #25879

closed

RFauxFactory dependency not uptodate

Added by Evgeni Golov about 5 years ago. Updated about 5 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Tests
Target version:
-
Difficulty:
trivial
Triaged:
No
Fixed in Releases:
Found in Releases:

Description

in test/controllers/api/v2/hosts_controller_test.rb we use RFauxFactory.gen_mac which was added in RFauxFactory 0.1.5, but our dependency is still on ~> 0.1, which triggers errors when run with anything older than 0.1.5.

[MinitestRetry] retry 'test_0088_should update with valid mac' count: 1,  msg: NoMethodError: undefined method `gen_mac' for RFauxFactory:Module
Did you mean?  gen_cjk
    test/controllers/api/v2/hosts_controller_test.rb:1162:in `block in <class:HostsControllerTest>'
[MinitestRetry] retry 'test_0088_should update with valid mac' count: 2,  msg: NoMethodError: undefined method `gen_mac' for RFauxFactory:Module
Did you mean?  gen_cjk
    test/controllers/api/v2/hosts_controller_test.rb:1162:in `block in <class:HostsControllerTest>'
[MinitestRetry] retry 'test_0088_should update with valid mac' count: 3,  msg: NoMethodError: undefined method `gen_mac' for RFauxFactory:Module
Did you mean?  gen_cjk
    test/controllers/api/v2/hosts_controller_test.rb:1162:in `block in <class:HostsControllerTest>'
Api::V2::HostsControllerTest#test_0088_should update with valid mac = 0.08 s = E

Error:
Api::V2::HostsControllerTest#test_0088_should update with valid mac:
NoMethodError: undefined method `gen_mac' for RFauxFactory:Module
Did you mean?  gen_cjk
    test/controllers/api/v2/hosts_controller_test.rb:1162:in `block in <class:HostsControllerTest>'
Actions #1

Updated by The Foreman Bot about 5 years ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/foreman/pull/6419 added
Actions #2

Updated by Anonymous about 5 years ago

  • Fixed in Releases 1.22.0 added
Actions #3

Updated by Evgeni Golov about 5 years ago

  • Status changed from Ready For Testing to Closed
Actions

Also available in: Atom PDF