Fixes #23857 - Fix Performance/InefficientHashSearch cop
Refs #22164 - use cheaper FactoryBot methods
in- test/unit/*- test/models/shared/taxonomies_base_test.rb- test/controllers/hosts_controller_test.rb
Fixes #21424 - use factory_bot_rails
fixes #19131 - upgrade minitest to latest 5.x
- override minitest's `_` expectation method with the gettext method- rename `location` let helper, conflicted with a minitest method name- fix `assert_equal nil, [..]` deprecation warnings, prefer `assert nil`...
Fixes #18868 - add Parallels PSBM version handling
fixes #17354 - test and improve idempotency of OS fact parser
fixes #17335 - parse Solaris update as minor version
Also fixes idempotency of OSes with only a major version (as Solariswas prior to this change), where `minor` was nil instead of "", causingthe OS to be recreated with a validation error.
fixes #16557 - move tests into modern Rails layout
Models, controllers, mailers and helpers are now in test/ subdirsmatching app/ subdirs. Service, miscellaneous and old test/lib/ testsare now in test/unit/ separated from models, which obsoletes the custom...
Fixes #14545, #13104 - Correctly parse y.z minor OS versions
Some OSes use y.z minor version, for example CentOS uses versions suchas 7.2.1511. Currently, the puppet fact parser will only take the 'y'part of the version, 2 in this case, which can lead to conflicts if the...
Fixes #11089 - Adapt tests to Rails 4
This commit contains all changes to tests in branchhttps://github.com/theforeman/foreman/pull/2055 that I found to beretrocompatible with Rails 3. The more of these we can get in, the lesscode we will have to review for Rails 4, and the more relevant it will...
fixes #10397 - parse Windows Local_Area_Connection interface name
Refs #3809 - Remove cops for empty lines
Fixes #7456 - Extract primary interface from host
All host must have at least one primary interface and one provision (can...
fixes #8993 - handle FreeBSD patch releases better
Fixes #6444 - add support for virtual NICs
Extend additional interface details refs #2240
NIC facts parsing change and we create interfaces in Foreman accordingto facts we recieve.
Subclasses does not define their own attributes and serialize them toattrs hash. All BMC attributes are extracted to separate columns so it's...
Fixes #6560 - Extract puppet parsing logic