Fixes #11089 - Adapt tests to Rails 4
This commit contains all changes to tests in branchhttps://github.com/theforeman/foreman/pull/2055 that I found to beretrocompatible with Rails 3. The more of these we can get in, the lesscode we will have to review for Rails 4, and the more relevant it will...
Refs #3809 - Remove cops for empty lines
Refs #3809 - Remove useless assignments
Fixes #4350 - Allow any format for role name
fixes #812 - new permissions model, user group role and nest support, role filters for better granularity
fixes #3091 - strip leading and trailing whitespace before_save on names of all objects
fixes #2400 migration to remove orphaned records and add foreign keys constraints to database tables
fixes #2630 - restrict assignment of roles to those a user has (CVE-2013-2113)
fixes #2378 - added Minitest and other code cleanups
Fixes #639 - resolves "parenthesize argument(s) for future version" warnings
Signed-off-by: Justin Sherrill <jsherril@redhat.com>
Fixes #366 - Redmine authorization port
This is a major feature which provides RBAC authorization within Foremana mental note to myself - never ever work on large commits