diff options
author | Harald Eilertsen <haraldei@anduin.net> | 2018-09-21 14:39:07 +0200 |
---|---|---|
committer | Harald Eilertsen <haraldei@anduin.net> | 2018-09-21 14:39:07 +0200 |
commit | 8e13e19461e7fae0037a17378a3e4732ed131e21 (patch) | |
tree | 5be8fd16cbe17535411a0b01885da54a895dd123 /spec/support | |
parent | ddff5b8afe18442ebea1e67bd6f77310b5bf9f0f (diff) | |
download | norsk-urskog-registrations-master.tar.gz norsk-urskog-registrations-master.tar.bz2 norsk-urskog-registrations-master.zip |
Diffstat (limited to 'spec/support')
-rw-r--r-- | spec/support/band_factory.rb | 16 | ||||
-rw-r--r-- | spec/support/contact_factory.rb | 16 | ||||
-rw-r--r-- | spec/support/submit_form_helper.rb | 16 |
3 files changed, 48 insertions, 0 deletions
diff --git a/spec/support/band_factory.rb b/spec/support/band_factory.rb index b092653..9b1a693 100644 --- a/spec/support/band_factory.rb +++ b/spec/support/band_factory.rb @@ -1,3 +1,19 @@ +# Band registration form for Norsk Urskog Metal Sampler +# Copyright (C) 2015-2018 Harald Eilersen <haraldei@anduin.net> +# +# 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, either version 3 of the License, or +# (at your option) any later version. +# +# 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/>. + module BandFactory def create_band_params(options = {}) opts = { diff --git a/spec/support/contact_factory.rb b/spec/support/contact_factory.rb index f05e9a1..e04d84f 100644 --- a/spec/support/contact_factory.rb +++ b/spec/support/contact_factory.rb @@ -1,3 +1,19 @@ +# Band registration form for Norsk Urskog Metal Sampler +# Copyright (C) 2015-2018 Harald Eilersen <haraldei@anduin.net> +# +# 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, either version 3 of the License, or +# (at your option) any later version. +# +# 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/>. + module ContactFactory def create_contact_params(params = {}) par = { diff --git a/spec/support/submit_form_helper.rb b/spec/support/submit_form_helper.rb index b9a64aa..e06a480 100644 --- a/spec/support/submit_form_helper.rb +++ b/spec/support/submit_form_helper.rb @@ -1,3 +1,19 @@ +# Band registration form for Norsk Urskog Metal Sampler +# Copyright (C) 2015-2018 Harald Eilersen <haraldei@anduin.net> +# +# 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, either version 3 of the License, or +# (at your option) any later version. +# +# 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/>. + module SubmitFormHelper def fill_in_form_with(params) fill_in 'Bandnavn:', with: params['name'] |