Bug #6972
closedDisabling Candlepin in Systems Controller Test prevents testing updates to content hosts
Description
By disabling the glue layers of candlepin in the systems controller test, testing any updates would require a workaround including unnecessary logic in the controller itself. You also cannot test for certain candlepin attribute updates, such as facts.
The test and error follow:
def test_update_facts
put :update, :id => @system.uuid, :facts => {"new" => "fact"}
assert_response :success
end
status=500, {"displayMessage"=>"Can't mass-assign protected attributes: facts", "errors"=>["Can't mass-assign protected attributes: facts"]}
Updated by Eric Helms over 9 years ago
- Category set to Tests
- Difficulty set to easy
- Triaged changed from No to Yes
Updated by Eric Helms over 8 years ago
- translation missing: en.field_release set to 114
Updated by John Mitsch over 4 years ago
- Status changed from New to Closed
Thanks for reporting this issue. This issue was created over 4 years ago and hasn't seen an update in 1 year. We are closing this in an effort to keep a realistic backlog. Please open up a new issue that includes a link to this issue if you feel this still needs to be addressed. We can then triage the new issue and reassess.
Updated by Justin Sherrill over 4 years ago
- Target version deleted (
Katello Backlog)
Updated by Justin Sherrill over 4 years ago
- Status changed from Closed to Rejected