diff options
Diffstat (limited to 'site/spec/support/users_factory.rb')
-rw-r--r-- | site/spec/support/users_factory.rb | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/site/spec/support/users_factory.rb b/site/spec/support/users_factory.rb index 126a7b9..8c4d13d 100644 --- a/site/spec/support/users_factory.rb +++ b/site/spec/support/users_factory.rb @@ -1,3 +1,18 @@ +# Gentoo Council Web App - to help Gentoo Council do their job better +# Copyright (C) 2011 Joachim Filip Bartosik +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as +# published by the Free Software Foundation, version 3 of the License +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. + def users_factory(*roles) roles.flatten! roles.collect! do |role| |