Skip to content

Commit

Permalink
Apply new legal comments to tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Marc Altmann committed Oct 13, 2015
1 parent 12c2f7b commit 3f7754c
Show file tree
Hide file tree
Showing 141 changed files with 554 additions and 1,538 deletions.
25 changes: 4 additions & 21 deletions test/controllers/addresses_controller_test.rb
Original file line number Diff line number Diff line change
@@ -1,24 +1,7 @@
#
#
# == License:
# Fairmondo - Fairmondo is an open-source online marketplace.
# Copyright (C) 2013 Fairmondo eG
#
# This file is part of Fairmondo.
#
# Fairmondo 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.
#
# Fairmondo 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 Fairmondo. If not, see <http://www.gnu.org/licenses/>.
#
# Copyright (c) 2012-2015, Fairmondo eG. This file is
# licensed under the GNU Affero General Public License version 3 or later.
# See the COPYRIGHT file for details.

require_relative '../test_helper'

describe AddressesController do
Expand Down
25 changes: 4 additions & 21 deletions test/controllers/article_templates_controller_test.rb
Original file line number Diff line number Diff line change
@@ -1,24 +1,7 @@
#
#
# == License:
# Fairmondo - Fairmondo is an open-source online marketplace.
# Copyright (C) 2013 Fairmondo eG
#
# This file is part of Fairmondo.
#
# Fairmondo 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.
#
# Fairmondo 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 Fairmondo. If not, see <http://www.gnu.org/licenses/>.
#
# Copyright (c) 2012-2015, Fairmondo eG. This file is
# licensed under the GNU Affero General Public License version 3 or later.
# See the COPYRIGHT file for details.

require_relative '../test_helper'

describe ArticleTemplatesController do
Expand Down
25 changes: 4 additions & 21 deletions test/controllers/articles_controller_test.rb
Original file line number Diff line number Diff line change
@@ -1,24 +1,7 @@
#
#
# == License:
# Fairmondo - Fairmondo is an open-source online marketplace.
# Copyright (C) 2013 Fairmondo eG
#
# This file is part of Fairmondo.
#
# Fairmondo 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.
#
# Fairmondo 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 Fairmondo. If not, see <http://www.gnu.org/licenses/>.
#
# Copyright (c) 2012-2015, Fairmondo eG. This file is
# licensed under the GNU Affero General Public License version 3 or later.
# See the COPYRIGHT file for details.

require_relative '../test_helper'

describe ArticlesController do
Expand Down
25 changes: 4 additions & 21 deletions test/controllers/bank_details_controller_test.rb
Original file line number Diff line number Diff line change
@@ -1,24 +1,7 @@
#
#
# == License:
# Fairmondo - Fairmondo is an open-source online marketplace.
# Copyright (C) 2013 Fairmondo eG
#
# This file is part of Fairmondo.
#
# Fairmondo 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.
#
# Fairmondo 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 Fairmondo. If not, see <http://www.gnu.org/licenses/>.
#
# Copyright (c) 2012-2015, Fairmondo eG. This file is
# licensed under the GNU Affero General Public License version 3 or later.
# See the COPYRIGHT file for details.

require_relative '../test_helper'

# KontoAPI::valid? and bank_name are automatically stubbed to true / Bankname
Expand Down
4 changes: 4 additions & 0 deletions test/controllers/carts_controller_test.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# Copyright (c) 2012-2015, Fairmondo eG. This file is
# licensed under the GNU Affero General Public License version 3 or later.
# See the COPYRIGHT file for details.

require_relative '../test_helper'

describe CartsController do
Expand Down
25 changes: 4 additions & 21 deletions test/controllers/categories_controller_test.rb
Original file line number Diff line number Diff line change
@@ -1,24 +1,7 @@
#
#
# == License:
# Fairmondo - Fairmondo is an open-source online marketplace.
# Copyright (C) 2013 Fairmondo eG
#
# This file is part of Fairmondo.
#
# Fairmondo 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.
#
# Fairmondo 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 Fairmondo. If not, see <http://www.gnu.org/licenses/>.
#
# Copyright (c) 2012-2015, Fairmondo eG. This file is
# licensed under the GNU Affero General Public License version 3 or later.
# See the COPYRIGHT file for details.

require_relative '../test_helper'

describe CategoriesController do
Expand Down
26 changes: 4 additions & 22 deletions test/controllers/comments_controller_test.rb
Original file line number Diff line number Diff line change
@@ -1,25 +1,7 @@
#
#
# == License:
# Fairmondo - Fairmondo is an open-source online marketplace.
# Copyright (C) 2013 Fairmondo eG
#
# This file is part of Fairmondo.
#
# Fairmondo 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.
#
# Fairmondo 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 Fairmondo. If not, see <http://www.gnu.org/licenses/>.
#
#
# Copyright (c) 2012-2015, Fairmondo eG. This file is
# licensed under the GNU Affero General Public License version 3 or later.
# See the COPYRIGHT file for details.

require_relative '../test_helper'

describe CommentsController do
Expand Down
23 changes: 4 additions & 19 deletions test/controllers/contents_controller_test.rb
Original file line number Diff line number Diff line change
@@ -1,22 +1,7 @@
#
# Farinopoly - Fairmondo is an open-source online marketplace.
# Copyright (C) 2013 Fairmondo eG
#
# This file is part of Farinopoly.
#
# Farinopoly 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.
#
# Farinopoly 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 Farinopoly. If not, see <http://www.gnu.org/licenses/>.
#
# Copyright (c) 2012-2015, Fairmondo eG. This file is
# licensed under the GNU Affero General Public License version 3 or later.
# See the COPYRIGHT file for details.

require_relative '../test_helper'

describe ContentsController do
Expand Down
4 changes: 4 additions & 0 deletions test/controllers/discourse_controller_test.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# Copyright (c) 2012-2015, Fairmondo eG. This file is
# licensed under the GNU Affero General Public License version 3 or later.
# See the COPYRIGHT file for details.

require_relative '../test_helper'

describe DiscourseController do
Expand Down
25 changes: 4 additions & 21 deletions test/controllers/exports_controller_test.rb
Original file line number Diff line number Diff line change
@@ -1,24 +1,7 @@
#
#
# == License:
# Fairmondo - Fairmondo is an open-source online marketplace.
# Copyright (C) 2013 Fairmondo eG
#
# This file is part of Fairmondo.
#
# Fairmondo 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.
#
# Fairmondo 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 Fairmondo. If not, see <http://www.gnu.org/licenses/>.
#
# Copyright (c) 2012-2015, Fairmondo eG. This file is
# licensed under the GNU Affero General Public License version 3 or later.
# See the COPYRIGHT file for details.

require_relative '../test_helper'

describe ExportsController do
Expand Down
25 changes: 4 additions & 21 deletions test/controllers/feedbacks_controller_test.rb
Original file line number Diff line number Diff line change
@@ -1,24 +1,7 @@
#
#
# == License:
# Fairmondo - Fairmondo is an open-source online marketplace.
# Copyright (C) 2013 Fairmondo eG
#
# This file is part of Fairmondo.
#
# Fairmondo 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.
#
# Fairmondo 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 Fairmondo. If not, see <http://www.gnu.org/licenses/>.
#
# Copyright (c) 2012-2015, Fairmondo eG. This file is
# licensed under the GNU Affero General Public License version 3 or later.
# See the COPYRIGHT file for details.

require_relative '../test_helper'

describe FeedbacksController do
Expand Down
25 changes: 4 additions & 21 deletions test/controllers/hearts_controller_test.rb
Original file line number Diff line number Diff line change
@@ -1,24 +1,7 @@
#
#
# == License:
# Fairmondo - Fairmondo is an open-source online marketplace.
# Copyright (C) 2013 Fairmondo eG
#
# This file is part of Fairmondo.
#
# Fairmondo 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.
#
# Fairmondo 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 Fairmondo. If not, see <http://www.gnu.org/licenses/>.
#
# Copyright (c) 2012-2015, Fairmondo eG. This file is
# licensed under the GNU Affero General Public License version 3 or later.
# See the COPYRIGHT file for details.

require_relative '../test_helper'

describe HeartsController do
Expand Down
25 changes: 4 additions & 21 deletions test/controllers/libraries_controller_test.rb
Original file line number Diff line number Diff line change
@@ -1,24 +1,7 @@
#
#
# == License:
# Fairmondo - Fairmondo is an open-source online marketplace.
# Copyright (C) 2013 Fairmondo eG
#
# This file is part of Fairmondo.
#
# Fairmondo 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.
#
# Fairmondo 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 Fairmondo. If not, see <http://www.gnu.org/licenses/>.
#
# Copyright (c) 2012-2015, Fairmondo eG. This file is
# licensed under the GNU Affero General Public License version 3 or later.
# See the COPYRIGHT file for details.

require_relative '../test_helper'

describe LibrariesController do
Expand Down
25 changes: 4 additions & 21 deletions test/controllers/library_elements_controller_test.rb
Original file line number Diff line number Diff line change
@@ -1,24 +1,7 @@
#
#
# == License:
# Fairmondo - Fairmondo is an open-source online marketplace.
# Copyright (C) 2013 Fairmondo eG
#
# This file is part of Fairmondo.
#
# Fairmondo 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.
#
# Fairmondo 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 Fairmondo. If not, see <http://www.gnu.org/licenses/>.
#
# Copyright (c) 2012-2015, Fairmondo eG. This file is
# licensed under the GNU Affero General Public License version 3 or later.
# See the COPYRIGHT file for details.

require_relative '../test_helper'

describe LibraryElementsController do
Expand Down
25 changes: 4 additions & 21 deletions test/controllers/line_item_groups_controller_test.rb
Original file line number Diff line number Diff line change
@@ -1,24 +1,7 @@
#
#
# == License:
# Fairmondo - Fairmondo is an open-source online marketplace.
# Copyright (C) 2013 Fairmondo eG
#
# This file is part of Fairmondo.
#
# Fairmondo 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.
#
# Fairmondo 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 Fairmondo. If not, see <http://www.gnu.org/licenses/>.
#
# Copyright (c) 2012-2015, Fairmondo eG. This file is
# licensed under the GNU Affero General Public License version 3 or later.
# See the COPYRIGHT file for details.

require_relative '../test_helper'

describe LineItemGroupsController do
Expand Down
Loading

0 comments on commit 3f7754c

Please sign in to comment.