Project

General

Profile

Bug #25879

RFauxFactory dependency not uptodate

Added by Evgeni Golov 11 months ago. Updated 11 months ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Tests
Target version:
-
Difficulty:
trivial
Triaged:
No
Bugzilla link:
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>'

Associated revisions

Revision 976957bc (diff)
Added by Evgeni Golov 11 months ago

Fixes #25879 - bump rfauxfactory dependency

History

#1 Updated by The Foreman Bot 11 months ago

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

#2 Updated by Michael Moll 11 months ago

  • Fixed in Releases 1.22.0 added

#3 Updated by Evgeni Golov 11 months ago

  • Status changed from Ready For Testing to Closed

Also available in: Atom PDF