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 | |
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')
-rw-r--r-- | spec/contact_spec.rb | 16 | ||||
-rw-r--r-- | spec/email_spec.rb | 16 | ||||
-rw-r--r-- | spec/features/register_band_spec.rb | 16 | ||||
-rw-r--r-- | spec/pdf_form_spec.rb | 16 | ||||
-rw-r--r-- | spec/registration_spec.rb | 16 | ||||
-rw-r--r-- | spec/spec_helper.rb | 16 | ||||
-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 |
9 files changed, 144 insertions, 0 deletions
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 <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/>. + 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 <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/>. + 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 <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/>. + 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 <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/>. + 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 <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/>. + 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 <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/>. + 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 <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'] |