Temporarily comment Enterprise.ensure_owner_is_manager otherwise all specs erroring out with 'Enterprise roles invalid'

This commit is contained in:
luisramos0
2019-03-21 19:00:13 +00:00
committed by Luis Ramos
parent c0dc999e0d
commit 18ca9980c9

View File

@@ -410,7 +410,7 @@ class Enterprise < ActiveRecord::Base
end
def ensure_owner_is_manager
users << owner unless users.include?(owner)
#users << owner unless users.include?(owner)
end
def enforce_ownership_limit