diff options
author | Heiko Bernloehr <Heiko.Bernloehr@FreeIT.de> | 2014-06-18 10:01:32 +0200 |
---|---|---|
committer | Heiko Bernloehr <Heiko.Bernloehr@FreeIT.de> | 2016-01-27 01:50:39 +0100 |
commit | cbea42aab6b87905935e28bb2b30184eceef846d (patch) | |
tree | 00e9b5fc12bbabe0100c9a361bab3994bb04d50d /test | |
parent | 253704b479a866c80efa22374fc58e2eafe36e06 (diff) | |
download | ecs2-cbea42aab6b87905935e28bb2b30184eceef846d.tar.gz ecs2-cbea42aab6b87905935e28bb2b30184eceef846d.zip |
WIP: subparticipants.
Diffstat (limited to 'test')
-rw-r--r-- | test/fixtures/subparticipants.yml | 24 | ||||
-rw-r--r-- | test/functional/subparticipants_controller_test.rb | 25 | ||||
-rw-r--r-- | test/unit/helpers/subparticipants_helper_test.rb | 21 | ||||
-rw-r--r-- | test/unit/subparticipant_test.rb | 42 |
4 files changed, 112 insertions, 0 deletions
diff --git a/test/fixtures/subparticipants.yml b/test/fixtures/subparticipants.yml new file mode 100644 index 0000000..2097774 --- /dev/null +++ b/test/fixtures/subparticipants.yml @@ -0,0 +1,24 @@ +# Copyright (C) 2014 Heiko Bernloehr (FreeIT.de). +# +# This file is part of ECS. +# +# ECS 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. +# +# ECS 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 ECS. If not, see <http://www.gnu.org/licenses/>. + +# Read about fixtures at http://ar.rubyonrails.org/classes/Fixtures.html + +one: + realm: MyString + +two: + realm: MyString diff --git a/test/functional/subparticipants_controller_test.rb b/test/functional/subparticipants_controller_test.rb new file mode 100644 index 0000000..717fe52 --- /dev/null +++ b/test/functional/subparticipants_controller_test.rb @@ -0,0 +1,25 @@ +# Copyright (C) 2014 Heiko Bernloehr (FreeIT.de). +# +# This file is part of ECS. +# +# ECS 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. +# +# ECS 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 ECS. If not, see <http://www.gnu.org/licenses/>. + +require 'test_helper' + +class SubparticipantsControllerTest < ActionController::TestCase + # Replace this with your real tests. + test "the truth" do + assert true + end +end diff --git a/test/unit/helpers/subparticipants_helper_test.rb b/test/unit/helpers/subparticipants_helper_test.rb new file mode 100644 index 0000000..40e31c9 --- /dev/null +++ b/test/unit/helpers/subparticipants_helper_test.rb @@ -0,0 +1,21 @@ +# Copyright (C) 2014 Heiko Bernloehr (FreeIT.de). +# +# This file is part of ECS. +# +# ECS 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. +# +# ECS 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 ECS. If not, see <http://www.gnu.org/licenses/>. + +require 'test_helper' + +class SubparticipantsHelperTest < ActionView::TestCase +end diff --git a/test/unit/subparticipant_test.rb b/test/unit/subparticipant_test.rb new file mode 100644 index 0000000..a1f1cd1 --- /dev/null +++ b/test/unit/subparticipant_test.rb @@ -0,0 +1,42 @@ +# Copyright (C) 2014 Heiko Bernloehr (FreeIT.de). +# +# This file is part of ECS. +# +# ECS 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. +# +# ECS 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 ECS. If not, see <http://www.gnu.org/licenses/>. + +# Copyright (C) 2014 Heiko Bernloehr (FreeIT.de). +# +# This file is part of ECS. +# +# ECS 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. +# +# ECS 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 ECS. If not, see <http://www.gnu.org/licenses/>. + +require 'test_helper' + +class SubparticipantTest < ActiveSupport::TestCase + # Replace this with your real tests. + test "the truth" do + assert true + end +end |