summaryrefslogtreecommitdiffstats
path: root/spec/support
diff options
context:
space:
mode:
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']