Katello/katello — pull request #883 by daviddavis (2012-10-19 20:22:35+00:00)
Title: Properly setting label in before validate method

This is a follow up to pull request #873. After that change we were properly
entering the if statement but not properly setting label. This is a fix so
that now we are setting the label as intended. I've also included an rspec
test.