Fixes #19789 - fix Layout/SpaceAroundOperators cop
fixes #21694 - Add MTU to subnet
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 #18176 - replace clear_association_cache with reload
Reload is still necessary in Rails 5 as interfaces association will becached. The BMC test change is necessary to reload smart proxiesassociated to the subnet after their features were altered - previously...
fixes #16792 - don't modify AR record attributes in-place
Rails 5 may call #freeze on strings passed in as an attribute duringvalidation, so attributes must not be edited in-place with gsub! andsimilar methods.
fixes #16725 - add plugin extension point for smart proxies
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...