From 8e13e19461e7fae0037a17378a3e4732ed131e21 Mon Sep 17 00:00:00 2001 From: Harald Eilertsen Date: Fri, 21 Sep 2018 14:39:07 +0200 Subject: Add license header to source files. --- spec/contact_spec.rb | 16 ++++++++++++++++ spec/email_spec.rb | 16 ++++++++++++++++ spec/features/register_band_spec.rb | 16 ++++++++++++++++ spec/pdf_form_spec.rb | 16 ++++++++++++++++ spec/registration_spec.rb | 16 ++++++++++++++++ spec/spec_helper.rb | 16 ++++++++++++++++ spec/support/band_factory.rb | 16 ++++++++++++++++ spec/support/contact_factory.rb | 16 ++++++++++++++++ spec/support/submit_form_helper.rb | 16 ++++++++++++++++ 9 files changed, 144 insertions(+) (limited to 'spec') diff --git a/spec/contact_spec.rb b/spec/contact_spec.rb index 980626b..48844fc 100644 --- a/spec/contact_spec.rb +++ b/spec/contact_spec.rb @@ -1,3 +1,19 @@ +# Band registration form for Norsk Urskog Metal Sampler +# Copyright (C) 2015-2018 Harald Eilersen +# +# 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 . + require 'spec_helper' describe Contact do diff --git a/spec/email_spec.rb b/spec/email_spec.rb index e68d77f..7860307 100644 --- a/spec/email_spec.rb +++ b/spec/email_spec.rb @@ -1,3 +1,19 @@ +# Band registration form for Norsk Urskog Metal Sampler +# Copyright (C) 2015-2018 Harald Eilersen +# +# 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 . + require 'spec_helper' require 'net/smtp' diff --git a/spec/features/register_band_spec.rb b/spec/features/register_band_spec.rb index 5d812bc..fa5b675 100644 --- a/spec/features/register_band_spec.rb +++ b/spec/features/register_band_spec.rb @@ -1,3 +1,19 @@ +# Band registration form for Norsk Urskog Metal Sampler +# Copyright (C) 2015-2018 Harald Eilersen +# +# 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 . + require 'spec_helper' feature "Submit registration form" do diff --git a/spec/pdf_form_spec.rb b/spec/pdf_form_spec.rb index 334678a..69a1159 100644 --- a/spec/pdf_form_spec.rb +++ b/spec/pdf_form_spec.rb @@ -1,3 +1,19 @@ +# Band registration form for Norsk Urskog Metal Sampler +# Copyright (C) 2015-2018 Harald Eilersen +# +# 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 . + require "spec_helper" describe "create_pdf_file_name" do diff --git a/spec/registration_spec.rb b/spec/registration_spec.rb index 3ccfbe7..7208d5a 100644 --- a/spec/registration_spec.rb +++ b/spec/registration_spec.rb @@ -1,3 +1,19 @@ +# Band registration form for Norsk Urskog Metal Sampler +# Copyright (C) 2015-2018 Harald Eilersen +# +# 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 . + require "prawn" require 'rack/session/cookie' diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index aaf466a..c7ff485 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -1,3 +1,19 @@ +# Band registration form for Norsk Urskog Metal Sampler +# Copyright (C) 2015-2018 Harald Eilersen +# +# 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 . + ENV['RACK_ENV'] = 'test' require_relative '../registration' 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 +# +# 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 . + 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 +# +# 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 . + 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 +# +# 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 . + module SubmitFormHelper def fill_in_form_with(params) fill_in 'Bandnavn:', with: params['name'] -- cgit v1.2.3