Project

General

Profile

Actions

Bug #25879

closed

RFauxFactory dependency not uptodate

Added by Evgeni Golov almost 6 years ago. Updated almost 6 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

Also available in: Atom PDF