Project

General

Profile

Actions

Refactor #12476

closed

Refactor host collection validator for rails 4

Added by John Mitsch about 9 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
-
Target version:
Branch:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

https://github.com/Katello/katello/blob/master/app/models/katello/system_host_collection.rb#L10-L18

needs to be moved as a validator on the relation table is not working correctly in rails 4. It is unable to recognize a host_collection_id on test_create in host collection controller tests.

Actions

Also available in: Atom PDF