Fixes #37926 - Rubocop layout rules fix #2044
Annotations
2 errors
Run rake test:functionals:
test/controllers/api/v2/hosts_controller_test.rb#L715
Failure: test_0002_responds correctly for non-admin user if BMC is available
unexpected invocation: #<AnyInstance:ProxyAPI::BMC>.boot({:function => "bootdevice", :device => "bios"})
satisfied expectations:
- allowed any number of times, invoked never: #<AnyInstance:Resolv::DNS>.getaddresses(any_parameters)
- allowed any number of times, invoked never: #<AnyInstance:Resolv::DNS>.getaddress(any_parameters)
- allowed any number of times, invoked never: #<AnyInstance:Resolv::DNS>.getnames(any_parameters)
- allowed any number of times, invoked never: #<AnyInstance:Resolv::DNS>.getname(any_parameters)
- allowed any number of times, invoked never: #<AnyInstance:PuppetFactImporter>.ensure_no_active_transaction(any_parameters)
- allowed any number of times, invoked never: #<AnyInstance:ForemanAnsible::StructuredFactImporter>.ensure_no_active_transaction(any_parameters)
- allowed any number of times, invoked never: #<AnyInstance:Katello::RhsmFactImporter>.ensure_no_active_transaction(any_parameters)
- allowed any number of times, invoked never: #<AnyInstance:ForemanChef::FactImporter>.ensure_no_active_transaction(any_parameters)
- allowed any number of times, invoked never: #<AnyInstance:ForemanSalt::FactImporter>.ensure_no_active_transaction(any_parameters)
- allowed any number of times, invoked never: #<AnyInstance:Host::Managed(id: integer, name: string, last_compile: datetime, last_report: datetime, updated_at: datetime, created_at: datetime, root_pass: text, architecture_id: integer, operatingsystem_id: integer, ptable_id: integer, medium_id: integer, build: boolean, comment: text, disk: text, installed_at: datetime, model_id: integer, hostgroup_id: integer, owner_id: integer, owner_type: string, enabled: boolean, puppet_ca_proxy_id: integer, managed: boolean, use_image: boolean, image_file: string, uuid: string, compute_resource_id: integer, puppet_proxy_id: integer, certname: string, image_id: integer, organization_id: integer, location_id: integer, type: string, otp: string, realm_id: integer, compute_profile_id: integer, provision_method: string, grub_pass: string, global_status: integer, lookup_value_matcher: string, pxe_loader: string, initiated_at: datetime, build_errors: text, creator_id: integer)>.vm_exists?(any_parameters)
- allowed any number of times, invoked never: #<AnyInstance:ProxyAPI::BMC>.boot(function: "bootdevice", device: "bios")
|
Run rake test:functionals
Process completed with exit code 1.
|
Loading