summaryrefslogtreecommitdiffstats
path: root/spec/support
diff options
context:
space:
mode:
authorHarald Eilertsen <haraldei@anduin.net>2018-09-21 14:39:07 +0200
committerHarald Eilertsen <haraldei@anduin.net>2018-09-21 14:39:07 +0200
commit8e13e19461e7fae0037a17378a3e4732ed131e21 (patch)
tree5be8fd16cbe17535411a0b01885da54a895dd123 /spec/support
parentddff5b8afe18442ebea1e67bd6f77310b5bf9f0f (diff)
downloadnorsk-urskog-registrations-8e13e19461e7fae0037a17378a3e4732ed131e21.tar.gz
norsk-urskog-registrations-8e13e19461e7fae0037a17378a3e4732ed131e21.tar.bz2
norsk-urskog-registrations-8e13e19461e7fae0037a17378a3e4732ed131e21.zip
Add license header to source files.HEADmaster
Diffstat (limited to 'spec/support')
-rw-r--r--spec/support/band_factory.rb16
-rw-r--r--spec/support/contact_factory.rb16
-rw-r--r--spec/support/submit_form_helper.rb16
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']