Project

General

Profile

Actions

Bug #33142

closed

Add missing override template for Ansible variables

Added by Ondřej Pražák almost 4 years ago. Updated almost 4 years ago.

Status:
Closed
Priority:
Normal
Target version:
-
Fixed in Releases:
Found in Releases:

Description

There are failing tests on CI:

Failure:
Api::V2::AnsibleVariablesControllerTest#test_0005_should create [/home/runner/work/foreman_ansible/foreman_ansible/foreman_ansible/test/functional/api/v2/ansible_variables_controller_test.rb:45]:
Expected response to be a <2XX: success>, but was a <500: Internal Server Error>
Response body: {
  "error": {"message":"Cannot find rabl template 'api/v2/override_values/index' within registered ([\"/home/runner/work/foreman_ansible/foreman_ansible/app/views\"]) view paths!"}
}

rails test foreman_ansible/test/functional/api/v2/ansible_variables_controller_test.rb:40

F

Failure:
Api::V2::AnsibleVariablesControllerTest#test_0006_should update [/home/runner/work/foreman_ansible/foreman_ansible/foreman_ansible/test/functional/api/v2/ansible_variables_controller_test.rb:57]:
Expected response to be a <2XX: success>, but was a <500: Internal Server Error>
Response body: {
  "error": {"message":"Cannot find rabl template 'api/v2/override_values/index' within registered ([\"/home/runner/work/foreman_ansible/foreman_ansible/app/views\"]) view paths!"}
}

Related issues 1 (0 open1 closed)

Has duplicate Ansible - Bug #34159: Cannot find rabl template 'api/v2/override_values/index'DuplicateActions
Actions

Also available in: Atom PDF