Skip to content

OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub

removing spec_legacy code

ulferts2f88f2ac9fdc
diff --git a/spec_legacy/fixtures/attachments.yml b/spec_legacy/fixtures/attachments.yml
deleted file mode 100644
index 300ddba8989..00000000000
--- a/spec_legacy/fixtures/attachments.yml
+++ /dev/null
@@ -1,139 +0,0 @@
-#-- copyright
-# OpenProject is an open source project management software.
-# Copyright (C) 2012-2022 the OpenProject GmbH
-#
-# This program is free software; you can redistribute it and/or
-# modify it under the terms of the GNU General Public License version 3.
-#
-# OpenProject is a fork of ChiliProject, which is a fork of Redmine. The copyright follows:
-# Copyright (C) 2006-2013 Jean-Philippe Lang
-# Copyright (C) 2010-2013 the ChiliProject Team
-#
-# This program is free software; you can redistribute it and/or
-# modify it under the terms of the GNU General Public License
-# as published by the Free Software Foundation; either version 2
-# 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 General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-#
-# See COPYRIGHT and LICENSE files for more details.
-#++
-
----
-attachments_001:
- created_at: 2006-07-19 21:07:27 +02:00
- downloads: 0
- content_type: text/plain
- disk_filename: 060719210727_error281.txt
- container_id: 3
- digest: b91e08d0cf966d5c6ff411bd8c4cc3a2
- id: 1
- container_type: WorkPackage
- filesize: 28
- filename: error281.txt
- author_id: 2
-attachments_003:
- created_at: 2006-07-19 21:07:27 +02:00
- downloads: 0
- content_type: image/gif
- disk_filename: 060719210727_logo.gif
- container_id: 4
- digest: b91e08d0cf966d5c6ff411bd8c4cc3a2
- id: 3
- container_type: WikiPage
- filesize: 280
- filename: logo.gif
- description: This is a logo
- author_id: 2
-attachments_004:
- created_at: 2006-07-19 21:07:27 +02:00
- container_type: WorkPackage
- container_id: 3
- downloads: 0
- disk_filename: 060719210727_source.rb
- digest: b91e08d0cf966d5c6ff411bd8c4cc3a2
- id: 4
- filesize: 153
- filename: source.rb
- author_id: 2
- description: This is a Ruby source file
- content_type: text/x-ruby
-attachments_005:
- created_at: 2006-07-19 21:07:27 +02:00
- container_type: WorkPackage
- container_id: 3
- downloads: 0
- disk_filename: 060719210727_changeset_iso8859-1.diff
- digest: b91e08d0cf966d5c6ff411bd8c4cc3a2
- id: 5
- filesize: 687
- filename: changeset_iso8859-1.diff
- author_id: 2
- content_type: text/x-diff
-attachments_006:
- created_at: 2006-07-19 21:07:27 +02:00
- container_type: WorkPackage
- container_id: 3
- downloads: 0
- disk_filename: 060719210727_archive.zip
- digest: b91e08d0cf966d5c6ff411bd8c4cc3a2
- id: 6
- filesize: 157
- filename: archive.zip
- author_id: 2
- content_type: application/zip
-attachments_007:
- created_at: 2006-07-19 21:07:27 +02:00
- container_type: WorkPackage
- container_id: 4
- downloads: 0
- disk_filename: 060719210727_archive.zip
- digest: b91e08d0cf966d5c6ff411bd8c4cc3a2
- id: 7
- filesize: 157
- filename: archive.zip
- author_id: 1
- content_type: application/zip
-attachments_010:
- created_at: 2006-07-19 21:07:27 +02:00
- container_type: WorkPackage
- container_id: 2
- downloads: 0
- disk_filename: 060719210727_picture.jpg
- digest: b91e08d0cf966d5c6ff411bd8c4cc3a2
- id: 10
- filesize: 452
- filename: picture.jpg
- author_id: 2
- content_type: image/jpeg
-attachments_013:
- created_at: 2006-07-19 21:07:27 +02:00
- container_type: Message
- container_id: 1
- downloads: 0
- disk_filename: 060719210727_foo.zip
- digest: b91e08d0cf966d5c6ff411bd8c4cc3a2
- id: 13
- filesize: 452
- filename: foo.zip
- author_id: 2
- content_type: application/octet-stream
-attachments_014:
- created_at: 2006-07-19 21:07:27 +02:00
- container_type: WorkPackage
- container_id: 3
- downloads: 0
- disk_filename: 060719210727_changeset_utf8.diff
- digest: b91e08d0cf966d5c6ff411bd8c4cc3a2
- id: 14
- filesize: 687
- filename: changeset_utf8.diff
- author_id: 2
- content_type: text/x-diff
diff --git a/spec_legacy/fixtures/categories.yml b/spec_legacy/fixtures/categories.yml
deleted file mode 100644
index 80f6bfb3bc9..00000000000
--- a/spec_legacy/fixtures/categories.yml
+++ /dev/null
@@ -1,50 +0,0 @@
-#-- copyright
-# OpenProject is an open source project management software.
-# Copyright (C) 2012-2022 the OpenProject GmbH
-#
-# This program is free software; you can redistribute it and/or
-# modify it under the terms of the GNU General Public License version 3.
-#
-# OpenProject is a fork of ChiliProject, which is a fork of Redmine. The copyright follows:
-# Copyright (C) 2006-2013 Jean-Philippe Lang
-# Copyright (C) 2010-2013 the ChiliProject Team
-#
-# This program is free software; you can redistribute it and/or
-# modify it under the terms of the GNU General Public License
-# as published by the Free Software Foundation; either version 2
-# 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 General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-#
-# See COPYRIGHT and LICENSE files for more details.
-#++
-
----
-categories_001:
- name: Printing
- project_id: 1
- assigned_to_id: 2
- id: 1
-categories_002:
- name: Recipes
- project_id: 1
- assigned_to_id:
- id: 2
-categories_003:
- name: Stock management
- project_id: 2
- assigned_to_id:
- id: 3
-categories_004:
- name: Printing
- project_id: 2
- assigned_to_id:
- id: 4
-
diff --git a/spec_legacy/fixtures/changes.yml b/spec_legacy/fixtures/changes.yml
deleted file mode 100644
index 9d997c6c336..00000000000
--- a/spec_legacy/fixtures/changes.yml
+++ /dev/null
@@ -1,51 +0,0 @@
-#-- copyright
-# OpenProject is an open source project management software.
-# Copyright (C) 2012-2022 the OpenProject GmbH
-#
-# This program is free software; you can redistribute it and/or
-# modify it under the terms of the GNU General Public License version 3.
-#
-# OpenProject is a fork of ChiliProject, which is a fork of Redmine. The copyright follows:
-# Copyright (C) 2006-2013 Jean-Philippe Lang
-# Copyright (C) 2010-2013 the ChiliProject Team
-#
-# This program is free software; you can redistribute it and/or
-# modify it under the terms of the GNU General Public License
-# as published by the Free Software Foundation; either version 2
-# 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 General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-#
-# See COPYRIGHT and LICENSE files for more details.
-#++
-
----
-changes_001:
- id: 1
- changeset_id: 100
- action: A
- path: /test/some/path/in/the/repo
- from_path:
- from_revision:
-changes_002:
- id: 2
- changeset_id: 100
- action: A
- path: /test/some/path/elsewhere/in/the/repo
- from_path:
- from_revision:
-changes_003:
- id: 3
- changeset_id: 101
- action: M
- path: /test/some/path/in/the/repo
- from_path:
- from_revision:
-
diff --git a/spec_legacy/fixtures/changesets.yml b/spec_legacy/fixtures/changesets.yml
deleted file mode 100644
index 2a7c8acae96..00000000000
--- a/spec_legacy/fixtures/changesets.yml
+++ /dev/null
@@ -1,132 +0,0 @@
-#-- copyright
-# OpenProject is an open source project management software.
-# Copyright (C) 2012-2022 the OpenProject GmbH
-#
-# This program is free software; you can redistribute it and/or
-# modify it under the terms of the GNU General Public License version 3.
-#
-# OpenProject is a fork of ChiliProject, which is a fork of Redmine. The copyright follows:
-# Copyright (C) 2006-2013 Jean-Philippe Lang
-# Copyright (C) 2010-2013 the ChiliProject Team
-#
-# This program is free software; you can redistribute it and/or
-# modify it under the terms of the GNU General Public License
-# as published by the Free Software Foundation; either version 2
-# 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 General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-#
-# See COPYRIGHT and LICENSE files for more details.
-#++
-
----
-changesets_001:
- commit_date: 2007-04-11
- committed_on: 2007-04-11 15:14:44 +02:00
- revision: 1
- id: 100
- comments: My very first commit
- repository_id: 10
- committer: dlopper
- user_id: 3
-changesets_002:
- commit_date: 2007-04-12
- committed_on: 2007-04-12 15:14:44 +02:00
- revision: 2
- id: 101
- comments: 'This commit fixes #1, #2 and references #1 & #3'
- repository_id: 10
- committer: dlopper
- user_id: 3
-changesets_003:
- commit_date: 2007-04-12
- committed_on: 2007-04-12 15:14:44 +02:00
- revision: 3
- id: 102
- comments: |-
- A commit with wrong issue ids
- IssueID #666 #3
- repository_id: 10
- committer: dlopper
- user_id: 3
-changesets_004:
- commit_date: 2007-04-12
- committed_on: 2007-04-12 15:14:44 +02:00
- revision: 4
- id: 103
- comments: |-
- A commit with an issue id of an other project
- IssueID 4 2
- repository_id: 10
- committer: dlopper
- user_id: 3
-changesets_005:
- commit_date: "2007-09-10"
- comments: Modified one file in the folder.
- committed_on: 2007-09-10 19:01:08
- revision: "5"
- id: 104
- scmid:
- user_id: 3
- repository_id: 10
- committer: dlopper
-changesets_006:
- commit_date: "2007-09-10"
- comments: Moved helloworld.rb from / to /folder.
- committed_on: 2007-09-10 19:01:47
- revision: "6"
- id: 105
- scmid:
- user_id: 3
- repository_id: 10
- committer: dlopper
-changesets_007:
- commit_date: "2007-09-10"
- comments: Removed one file.
- committed_on: 2007-09-10 19:02:16
- revision: "7"
- id: 106
- scmid:
- user_id: 3
- repository_id: 10
- committer: dlopper
-changesets_008:
- commit_date: "2007-09-10"
- comments: |-
- This commits references an issue.
- Refs #2
- committed_on: 2007-09-10 19:04:35
- revision: "8"
- id: 107
- scmid:
- user_id: 3
- repository_id: 10
- committer: dlopper
-changesets_009:
- commit_date: "2009-09-10"
- comments: One file added.
- committed_on: 2009-09-10 19:04:35
- revision: "9"
- id: 108
- scmid:
- user_id: 3
- repository_id: 10
- committer: dlopper
-changesets_010:
- commit_date: "2009-09-10"
- comments: Same file modified.
- committed_on: 2009-09-10 19:04:35
- revision: "10"
- id: 109
- scmid:
- user_id: 3
- repository_id: 10
- committer: dlopper
-
diff --git a/spec_legacy/fixtures/comments.yml b/spec_legacy/fixtures/comments.yml
deleted file mode 100644
index 74b37405dca..00000000000
--- a/spec_legacy/fixtures/comments.yml
+++ /dev/null
@@ -1,46 +0,0 @@
-#-- copyright
-# OpenProject is an open source project management software.
-# Copyright (C) 2012-2022 the OpenProject GmbH
-#
-# This program is free software; you can redistribute it and/or
-# modify it under the terms of the GNU General Public License version 3.
-#
-# OpenProject is a fork of ChiliProject, which is a fork of Redmine. The copyright follows:
-# Copyright (C) 2006-2013 Jean-Philippe Lang
-# Copyright (C) 2010-2013 the ChiliProject Team
-#
-# This program is free software; you can redistribute it and/or
-# modify it under the terms of the GNU General Public License
-# as published by the Free Software Foundation; either version 2
-# 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 General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-#
-# See COPYRIGHT and LICENSE files for more details.
-#++
-
-# Read about fixtures at http://ar.rubyonrails.org/classes/Fixtures.html
-comments_001:
- commented_type: News
- commented_id: 1
- id: 1
- author_id: 1
- comments: my first comment
- created_at: 2006-12-10 18:10:10 +01:00
- updated_at: 2006-12-10 18:10:10 +01:00
-comments_002:
- commented_type: News
- commented_id: 1
- id: 2
- author_id: 2
- comments: This is an other comment
- created_at: 2006-12-10 18:12:10 +01:00
- updated_at: 2006-12-10 18:12:10 +01:00
-
diff --git a/spec_legacy/fixtures/custom_fields.yml b/spec_legacy/fixtures/custom_fields.yml
deleted file mode 100644
index 9e011972897..00000000000
--- a/spec_legacy/fixtures/custom_fields.yml
+++ /dev/null
@@ -1,123 +0,0 @@
-#-- copyright
-# OpenProject is an open source project management software.
-# Copyright (C) 2012-2022 the OpenProject GmbH
-#
-# This program is free software; you can redistribute it and/or
-# modify it under the terms of the GNU General Public License version 3.
-#
-# OpenProject is a fork of ChiliProject, which is a fork of Redmine. The copyright follows:
-# Copyright (C) 2006-2013 Jean-Philippe Lang
-# Copyright (C) 2010-2013 the ChiliProject Team
-#
-# This program is free software; you can redistribute it and/or
-# modify it under the terms of the GNU General Public License
-# as published by the Free Software Foundation; either version 2
-# 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 General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-#
-# See COPYRIGHT and LICENSE files for more details.
-#++
-
----
-custom_fields_001:
- name: Database
- min_length: 0
- regexp: ""
- is_for_all: true
- is_filter: true
- type: WorkPackageCustomField
- max_length: 0
- id: 1
- is_required: false
- field_format: list
- editable: true
-custom_fields_002:
- name: "Searchable field"
- min_length: 1
- regexp: ""
- is_for_all: true
- type: WorkPackageCustomField
- max_length: 100
- id: 2
- is_required: false
- field_format: string
- searchable: true
- editable: true
- default_value: "Default string"
-custom_fields_003:
- name: "Development status"
- min_length: 0
- regexp: ""
- is_for_all: false
- is_filter: true
- type: ProjectCustomField
- max_length: 0
- id: 3
- is_required: false
- field_format: list
- editable: true
-custom_fields_004:
- name: "Phone number"
- min_length: 0
- regexp: ""
- is_for_all: false
- type: UserCustomField
- max_length: 0
- id: 4
- is_required: false
- field_format: string
- editable: true
-custom_fields_005:
- name: Money
- min_length: 0
- regexp: ""
- is_for_all: false
- type: UserCustomField
- max_length: 0
- id: 5
- is_required: false
- field_format: float
- editable: true
-custom_fields_006:
- name: "Float field"
- min_length: 0
- regexp: ""
- is_for_all: true
- type: WorkPackageCustomField
- max_length: 0
- id: 6
- is_required: false
- field_format: float
- editable: true
-custom_fields_008:
- name: "Custom date"
- min_length: 0
- regexp: ""
- is_for_all: true
- is_filter: false
- type: WorkPackageCustomField
- max_length: 0
- id: 8
- is_required: false
- field_format: date
- editable: true
-custom_fields_009:
- name: "Project 1 cf"
- min_length: 0
- regexp: ""
- is_for_all: false
- is_filter: true
- type: WorkPackageCustomField
- max_length: 0
- id: 9
- is_required: false
- field_format: date
- editable: true
diff --git a/spec_legacy/fixtures/custom_fields_projects.yml b/spec_legacy/fixtures/custom_fields_projects.yml
deleted file mode 100644
index 6d0f23b27ad..00000000000
--- a/spec_legacy/fixtures/custom_fields_projects.yml
+++ /dev/null
@@ -1,32 +0,0 @@
-#-- copyright
-# OpenProject is an open source project management software.
-# Copyright (C) 2012-2022 the OpenProject GmbH
-#
-# This program is free software; you can redistribute it and/or
-# modify it under the terms of the GNU General Public License version 3.
-#
-# OpenProject is a fork of ChiliProject, which is a fork of Redmine. The copyright follows:
-# Copyright (C) 2006-2013 Jean-Philippe Lang
-# Copyright (C) 2010-2013 the ChiliProject Team
-#
-# This program is free software; you can redistribute it and/or
-# modify it under the terms of the GNU General Public License
-# as published by the Free Software Foundation; either version 2
-# 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 General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-#
-# See COPYRIGHT and LICENSE files for more details.
-#++
-
----
-custom_fields_projects_001:
- custom_field_id: 9
- project_id: 1
diff --git a/spec_legacy/fixtures/custom_fields_types.yml b/spec_legacy/fixtures/custom_fields_types.yml
deleted file mode 100644
index 3d78da811cb..00000000000
--- a/spec_legacy/fixtures/custom_fields_types.yml
+++ /dev/null
@@ -1,50 +0,0 @@
-#-- copyright
-# OpenProject is an open source project management software.
-# Copyright (C) 2012-2022 the OpenProject GmbH
-#
-# This program is free software; you can redistribute it and/or
-# modify it under the terms of the GNU General Public License version 3.
-#
-# OpenProject is a fork of ChiliProject, which is a fork of Redmine. The copyright follows:
-# Copyright (C) 2006-2013 Jean-Philippe Lang
-# Copyright (C) 2010-2013 the ChiliProject Team
-#
-# This program is free software; you can redistribute it and/or
-# modify it under the terms of the GNU General Public License
-# as published by the Free Software Foundation; either version 2
-# 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 General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-#
-# See COPYRIGHT and LICENSE files for more details.
-#++
-
----
-custom_fields_types_001:
- custom_field_id: 1
- type_id: 1
-custom_fields_types_002:
- custom_field_id: 2
- type_id: 1
-custom_fields_types_003:
- custom_field_id: 2
- type_id: 3
-custom_fields_types_004:
- custom_field_id: 6
- type_id: 1
-custom_fields_types_005:
- custom_field_id: 6
- type_id: 2
-custom_fields_types_006:
- custom_field_id: 6
- type_id: 3
-custom_fields_types_007:
- custom_field_id: 8
- type_id: 1
diff --git a/spec_legacy/fixtures/custom_options.yml b/spec_legacy/fixtures/custom_options.yml
deleted file mode 100644
index 5815a3e0de7..00000000000
--- a/spec_legacy/fixtures/custom_options.yml
+++ /dev/null
@@ -1,71 +0,0 @@
-#-- copyright
-# OpenProject is an open source project management software.
-# Copyright (C) 2012-2022 the OpenProject GmbH
-#
-# This program is free software; you can redistribute it and/or
-# modify it under the terms of the GNU General Public License version 3.
-#
-# OpenProject is a fork of ChiliProject, which is a fork of Redmine. The copyright follows:
-# Copyright (C) 2006-2013 Jean-Philippe Lang
-# Copyright (C) 2010-2013 the ChiliProject Team
-#
-# This program is free software; you can redistribute it and/or
-# modify it under the terms of the GNU General Public License
-# as published by the Free Software Foundation; either version 2
-# 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 General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-#
-# See COPYRIGHT and LICENSE files for more details.
-#++
-
----
-custom_option_001:
- id: 1
- custom_field_id: 1
- position: 1
- value: MySQL
- default_value: false
-custom_option_002:
- id: 2
- custom_field_id: 1
- position: 2
- value: PostgreSQL
- default_value: false
-custom_option_003:
- id: 3
- custom_field_id: 1
- position: 3
- value: Oracle
- default_value: false
-custom_option_004:
- id: 4
- custom_field_id: 3
- position: 1
- value: Stable
- default_value: false
-custom_option_005:
- id: 5
- custom_field_id: 3
- position: 2
- value: Beta
- default_value: false
-custom_option_006:
- id: 6
- custom_field_id: 3
- position: 3
- value: Alpha
- default_value: false
-custom_option_007:
- id: 7
- custom_field_id: 3
- position: 4
- value: Planning
- default_value: false
diff --git a/spec_legacy/fixtures/custom_values.yml b/spec_legacy/fixtures/custom_values.yml
deleted file mode 100644
index 1dab703ebef..00000000000
--- a/spec_legacy/fixtures/custom_values.yml
+++ /dev/null
@@ -1,143 +0,0 @@
-#-- copyright
-# OpenProject is an open source project management software.
-# Copyright (C) 2012-2022 the OpenProject GmbH
-#
-# This program is free software; you can redistribute it and/or
-# modify it under the terms of the GNU General Public License version 3.
-#
-# OpenProject is a fork of ChiliProject, which is a fork of Redmine. The copyright follows:
-# Copyright (C) 2006-2013 Jean-Philippe Lang
-# Copyright (C) 2010-2013 the ChiliProject Team
-#
-# This program is free software; you can redistribute it and/or
-# modify it under the terms of the GNU General Public License
-# as published by the Free Software Foundation; either version 2
-# 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 General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-#
-# See COPYRIGHT and LICENSE files for more details.
-#++
-
----
-custom_values_006:
- customized_type: WorkPackage
- custom_field_id: 2
- customized_id: 3
- id: 6
- value: "125"
-custom_values_007:
- customized_type: Project
- custom_field_id: 3
- customized_id: 1
- id: 7
- value: "4"
-custom_values_001:
- customized_type: Principal
- custom_field_id: 4
- customized_id: 3
- id: 1
- value: ""
-custom_values_002:
- customized_type: Principal
- custom_field_id: 4
- customized_id: 4
- id: 2
- value: 01 23 45 67 89
-custom_values_003:
- customized_type: Principal
- custom_field_id: 4
- customized_id: 2
- id: 3
- value: "01 42 50 00 00"
-custom_values_004:
- customized_type: WorkPackage
- custom_field_id: 2
- customized_id: 1
- id: 4
- value: "125"
-custom_values_005:
- customized_type: WorkPackage
- custom_field_id: 2
- customized_id: 2
- id: 5
- value: ""
-custom_values_008:
- customized_type: WorkPackage
- custom_field_id: 1
- customized_id: 3
- id: 8
- value: "1"
-custom_values_009:
- customized_type: WorkPackage
- custom_field_id: 2
- customized_id: 7
- id: 9
- value: "this is a stringforcustomfield search"
-custom_values_010:
- customized_type: WorkPackage
- custom_field_id: 6
- customized_id: 1
- id: 10
- value: "2.1"
-custom_values_011:
- customized_type: WorkPackage
- custom_field_id: 6
- customized_id: 2
- id: 11
- value: "2.05"
-custom_values_012:
- customized_type: WorkPackage
- custom_field_id: 6
- customized_id: 3
- id: 12
- value: "11.65"
-custom_values_013:
- customized_type: WorkPackage
- custom_field_id: 6
- customized_id: 7
- id: 13
- value: ""
-custom_values_014:
- customized_type: WorkPackage
- custom_field_id: 6
- customized_id: 5
- id: 14
- value: "-7.6"
-custom_values_015:
- customized_type: Enumeration
- custom_field_id: 7
- customized_id: 10
- id: 15
- value: true
-custom_values_016:
- customized_type: Enumeration
- custom_field_id: 7
- customized_id: 11
- id: 16
- value: '1'
-custom_values_017:
- customized_type: WorkPackage
- custom_field_id: 8
- customized_id: 1
- id: 17
- value: '2009-12-01'
-custom_values_018:
- customized_type: WorkPackage
- custom_field_id: 1
- customized_id: 1
- id: 18
- value: "3"
-custom_values_019:
- customized_type: WorkPackage
- custom_field_id: 8
- customized_id: 3
- id: 19
- value: '2009-12-01'
diff --git a/spec_legacy/fixtures/files/060719210727_archive.zip b/spec_legacy/fixtures/files/060719210727_archive.zip
deleted file mode 100644
index 5467885d4b2..00000000000
Binary files a/spec_legacy/fixtures/files/060719210727_archive.zip and /dev/null differ
diff --git a/spec_legacy/fixtures/files/060719210727_changeset_iso8859-1.diff b/spec_legacy/fixtures/files/060719210727_changeset_iso8859-1.diff
deleted file mode 100644
index 9bade6ab992..00000000000
--- a/spec_legacy/fixtures/files/060719210727_changeset_iso8859-1.diff
+++ /dev/null
@@ -1,13 +0,0 @@
-Index: trunk/app/controllers/issues_controller.rb
-===================================================================
---- trunk/app/controllers/issues_controller.rb (r�vision 1483)
-+++ trunk/app/controllers/issues_controller.rb (r�vision 1484)
-@@ -149,7 +149,7 @@
- attach_files(@issue, params[:attachments])
- flash[:notice] = 'Demande cr��e avec succ�s'
- Mailer.deliver_issue_add(@issue) if Setting.notified_events.include?('issue_added')
-- redirect_to :controller => 'issues', :action => 'show', :id => @issue, :project_id => @project
-+ redirect_to :controller => 'issues', :action => 'show', :id => @issue
- return
- end
- end
diff --git a/spec_legacy/fixtures/files/060719210727_changeset_utf8.diff b/spec_legacy/fixtures/files/060719210727_changeset_utf8.diff
deleted file mode 100644
index 031336c8abd..00000000000
--- a/spec_legacy/fixtures/files/060719210727_changeset_utf8.diff
+++ /dev/null
@@ -1,13 +0,0 @@
-Index: trunk/app/controllers/issues_controller.rb
-===================================================================
---- trunk/app/controllers/issues_controller.rb (révision 1483)
-+++ trunk/app/controllers/issues_controller.rb (révision 1484)
-@@ -149,7 +149,7 @@
- attach_files(@issue, params[:attachments])
- flash[:notice] = 'Demande créée avec succès'
- Mailer.deliver_issue_add(@issue) if Setting.notified_events.include?('issue_added')
-- redirect_to :controller => 'issues', :action => 'show', :id => @issue, :project_id => @project
-+ redirect_to :controller => 'issues', :action => 'show', :id => @issue
- return
- end
- end
diff --git a/spec_legacy/fixtures/files/060719210727_source.rb b/spec_legacy/fixtures/files/060719210727_source.rb
deleted file mode 100644
index 9087a3b845e..00000000000
--- a/spec_legacy/fixtures/files/060719210727_source.rb
+++ /dev/null
@@ -1,38 +0,0 @@
-#-- copyright
-# OpenProject is an open source project management software.
-# Copyright (C) 2012-2022 the OpenProject GmbH
-#
-# This program is free software; you can redistribute it and/or
-# modify it under the terms of the GNU General Public License version 3.
-#
-# OpenProject is a fork of ChiliProject, which is a fork of Redmine. The copyright follows:
-# Copyright (C) 2006-2013 Jean-Philippe Lang
-# Copyright (C) 2010-2013 the ChiliProject Team
-#
-# This program is free software; you can redistribute it and/or
-# modify it under the terms of the GNU General Public License
-# as published by the Free Software Foundation; either version 2
-# 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 General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-#
-# See COPYRIGHT and LICENSE files for more details.
-#++
-
-# The Greeter class
-class Greeter
- def initialize(name)
- @name = name.capitalize
- end
-
- def salute
- puts "Hello #{@name}!"
- end
-end
diff --git a/spec_legacy/fixtures/files/testfile.txt b/spec_legacy/fixtures/files/testfile.txt
deleted file mode 100644
index 66c507f9c92..00000000000
--- a/spec_legacy/fixtures/files/testfile.txt
+++ /dev/null
@@ -1,2 +0,0 @@
-this is a text file for upload tests
-with multiple lines
diff --git a/spec_legacy/fixtures/files/textfile.txt b/spec_legacy/fixtures/files/textfile.txt
deleted file mode 100644
index 12e882a22d6..00000000000
--- a/spec_legacy/fixtures/files/textfile.txt
+++ /dev/null
@@ -1 +0,0 @@
-some silly content
diff --git a/spec_legacy/fixtures/forums.yml b/spec_legacy/fixtures/forums.yml
deleted file mode 100644
index 21eaf31e8a7..00000000000
--- a/spec_legacy/fixtures/forums.yml
+++ /dev/null
@@ -1,56 +0,0 @@
-#-- copyright
-# OpenProject is an open source project management software.
-# Copyright (C) 2012-2022 the OpenProject GmbH
-#
-# This program is free software; you can redistribute it and/or
-# modify it under the terms of the GNU General Public License version 3.
-#
-# OpenProject is a fork of ChiliProject, which is a fork of Redmine. The copyright follows:
-# Copyright (C) 2006-2013 Jean-Philippe Lang
-# Copyright (C) 2010-2013 the ChiliProject Team
-#
-# This program is free software; you can redistribute it and/or
-# modify it under the terms of the GNU General Public License
-# as published by the Free Software Foundation; either version 2
-# 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 General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-#
-# See COPYRIGHT and LICENSE files for more details.
-#++
-
----
-forums_001:
- name: Help
- project_id: 1
- topics_count: 2
- id: 1
- description: Help board
- position: 1
- last_message_id: 6
- messages_count: 6
-forums_002:
- name: Discussion
- project_id: 1
- topics_count: 0
- id: 2
- description: Discussion board
- position: 2
- last_message_id:
- messages_count: 0
-forums_003:
- name: Discussion
- project_id: 2
- topics_count: 0
- id: 3
- description: Discussion board
- position: 1
- last_message_id:
- messages_count: 0
diff --git a/spec_legacy/fixtures/group_users.yml b/spec_legacy/fixtures/group_users.yml
deleted file mode 100644
index 2d35784f1c9..00000000000
--- a/spec_legacy/fixtures/group_users.yml
+++ /dev/null
@@ -1,36 +0,0 @@
-#-- copyright
-# OpenProject is an open source project management software.
-# Copyright (C) 2012-2022 the OpenProject GmbH
-#
-# This program is free software; you can redistribute it and/or
-# modify it under the terms of the GNU General Public License version 3.
-#
-# OpenProject is a fork of ChiliProject, which is a fork of Redmine. The copyright follows:
-# Copyright (C) 2006-2013 Jean-Philippe Lang
-# Copyright (C) 2010-2013 the ChiliProject Team
-#
-# This program is free software; you can redistribute it and/or
-# modify it under the terms of the GNU General Public License
-# as published by the Free Software Foundation; either version 2
-# 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 General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-#
-# See COPYRIGHT and LICENSE files for more details.
-#++
-
----
-group_users_001:
- group_id: 10
- user_id: 8
-group_users_002:
- group_id: 11
- user_id: 8
-
diff --git a/spec_legacy/fixtures/menu_items.yml b/spec_legacy/fixtures/menu_items.yml
deleted file mode 100644
index 42f965afe56..00000000000
--- a/spec_legacy/fixtures/menu_items.yml
+++ /dev/null
@@ -1,42 +0,0 @@
-#-- copyright
-# OpenProject is an open source project management software.
-# Copyright (C) 2012-2022 the OpenProject GmbH
-#
-# This program is free software; you can redistribute it and/or
-# modify it under the terms of the GNU General Public License version 3.
-#
-# OpenProject is a fork of ChiliProject, which is a fork of Redmine. The copyright follows:
-# Copyright (C) 2006-2013 Jean-Philippe Lang
-# Copyright (C) 2010-2013 the ChiliProject Team
-#
-# This program is free software; you can redistribute it and/or
-# modify it under the terms of the GNU General Public License
-# as published by the Free Software Foundation; either version 2
-# 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 General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-#
-# See COPYRIGHT and LICENSE files for more details.
-#++
-
----
-menu_items_001:
- id: 1
- name: wiki
- title: Wiki
- type: MenuItems::WikiMenuItem
- navigatable_id: 1
-menu_items_002:
- id: 2
- name: wiki
- title: Wiki
- type: MenuItems::WikiMenuItem
- navigatable_id: 2
-
diff --git a/spec_legacy/fixtures/messages.yml b/spec_legacy/fixtures/messages.yml
deleted file mode 100644
index b7e1d7ebb90..00000000000
--- a/spec_legacy/fixtures/messages.yml
+++ /dev/null
@@ -1,106 +0,0 @@
-#-- copyright
-# OpenProject is an open source project management software.
-# Copyright (C) 2012-2022 the OpenProject GmbH
-#
-# This program is free software; you can redistribute it and/or
-# modify it under the terms of the GNU General Public License version 3.
-#
-# OpenProject is a fork of ChiliProject, which is a fork of Redmine. The copyright follows:
-# Copyright (C) 2006-2013 Jean-Philippe Lang
-# Copyright (C) 2010-2013 the ChiliProject Team
-#
-# This program is free software; you can redistribute it and/or
-# modify it under the terms of the GNU General Public License
-# as published by the Free Software Foundation; either version 2
-# 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 General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-#
-# See COPYRIGHT and LICENSE files for more details.
-#++
-
----
-messages_001:
- created_at: 2007-05-12 17:15:32 +02:00
- updated_at: 2007-05-12 17:15:32 +02:00
- subject: First post
- id: 1
- replies_count: 2
- last_reply_id: 3
- content: "This is the very first post\n\nin the forum"
- author_id: 1
- parent_id:
- forum_id: 1
-messages_002:
- created_at: 2007-05-12 17:18:00 +02:00
- updated_at: 2007-05-12 17:18:00 +02:00
- subject: First reply
- id: 2
- replies_count: 0
- last_reply_id:
- content: "Reply to the first post"
- author_id: 1
- parent_id: 1
- forum_id: 1
-messages_003:
- created_at: 2007-05-12 17:18:02 +02:00
- updated_at: 2007-05-12 17:18:02 +02:00
- subject: "RE: First post"
- id: 3
- replies_count: 0
- last_reply_id:
- content: "An other reply"
- author_id: 2
- parent_id: 1
- forum_id: 1
-messages_004:
- created_at: 2007-08-12 17:15:32 +02:00
- updated_at: 2007-08-12 17:15:32 +02:00
- subject: Post 2
- id: 4
- replies_count: 2
- last_reply_id: 6
- content: "This is an other post"
- author_id: 1
- parent_id:
- forum_id: 1
-messages_005:
- created_at: <%= 3.days.ago %>
- updated_at: <%= 3.days.ago %>
- subject: 'RE: post 2'
- id: 5
- replies_count: 0
- last_reply_id:
- content: "Reply to the second post"
- author_id: 1
- parent_id: 4
- forum_id: 1
-messages_006:
- created_at: <%= 2.days.ago %>
- updated_at: <%= 2.days.ago %>
- subject: 'RE: post 2'
- id: 6
- replies_count: 0
- last_reply_id:
- content: "Another reply to the second post"
- author_id: 3
- parent_id: 4
- forum_id: 1
-messages_007:
- created_at: <%= 2.days.ago %>
- updated_at: <%= 2.days.ago %>
- subject: 'Message on a private project'
- id: 7
- replies_count: 0
- last_reply_id:
- content: "This is a private message"
- author_id: 1
- parent_id:
- forum_id: 3
diff --git a/spec_legacy/fixtures/news.yml b/spec_legacy/fixtures/news.yml
deleted file mode 100644
index c17961dd802..00000000000
--- a/spec_legacy/fixtures/news.yml
+++ /dev/null
@@ -1,62 +0,0 @@
-#-- copyright
-# OpenProject is an open source project management software.
-# Copyright (C) 2012-2022 the OpenProject GmbH
-#
-# This program is free software; you can redistribute it and/or
-# modify it under the terms of the GNU General Public License version 3.
-#
-# OpenProject is a fork of ChiliProject, which is a fork of Redmine. The copyright follows:
-# Copyright (C) 2006-2013 Jean-Philippe Lang
-# Copyright (C) 2010-2013 the ChiliProject Team
-#
-# This program is free software; you can redistribute it and/or
-# modify it under the terms of the GNU General Public License
-# as published by the Free Software Foundation; either version 2
-# 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 General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-#
-# See COPYRIGHT and LICENSE files for more details.
-#++
-
----
-news_001:
- created_at: 2006-07-19 22:40:26 +02:00
- updated_at: 2006-07-19 22:40:26 +02:00
- project_id: 1
- title: eCookbook first release !
- id: 1
- description: |-
- eCookbook 1.0 has been released.
-
- Visit http://ecookbook.somenet.foo/
- summary: First version was released...
- author_id: 2
- comments_count: 1
-news_002:
- created_at: 2006-07-19 22:42:58 +02:00
- updated_at: 2006-07-19 22:42:58 +02:00
- project_id: 1
- title: 100,000 downloads for eCookbook
- id: 2
- description: eCookbook 1.0 have downloaded 100,000 times
- summary: eCookbook 1.0 have downloaded 100,000 times
- author_id: 2
- comments_count: 0
-news_003:
- created_at: 2006-07-19 22:42:58 +02:00
- updated_at: 2006-07-19 22:42:58 +02:00
- project_id: 2
- title: News on a private project
- id: 3
- description: This is a private news
- summary:
- author_id: 2
- comments_count: 0
diff --git a/spec_legacy/fixtures/queries.yml b/spec_legacy/fixtures/queries.yml
deleted file mode 100644
index 8abf181191a..00000000000
--- a/spec_legacy/fixtures/queries.yml
+++ /dev/null
@@ -1,193 +0,0 @@
-#-- copyright
-# OpenProject is an open source project management software.
-# Copyright (C) 2012-2022 the OpenProject GmbH
-#
-# This program is free software; you can redistribute it and/or
-# modify it under the terms of the GNU General Public License version 3.
-#
-# OpenProject is a fork of ChiliProject, which is a fork of Redmine. The copyright follows:
-# Copyright (C) 2006-2013 Jean-Philippe Lang
-# Copyright (C) 2010-2013 the ChiliProject Team
-#
-# This program is free software; you can redistribute it and/or
-# modify it under the terms of the GNU General Public License
-# as published by the Free Software Foundation; either version 2
-# 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 General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-#
-# See COPYRIGHT and LICENSE files for more details.
-#++
-
----
-queries_001:
- id: 1
- project_id: 1
- public: true
- include_subprojects: true
- name: Multiple custom fields query
- filters: |
- ---
- cf_1:
- :values:
- - "1"
- :operator: "="
- status_id:
- :values:
- - "1"
- :operator: o
- cf_2:
- :values:
- - "125"
- :operator: "="
-
- user_id: 1
- column_names:
-queries_002:
- id: 2
- project_id: 1
- public: false
- include_subprojects: true
- name: Private query for cookbook
- filters: |
- ---
- type_id:
- :values:
- - "3"
- :operator: "="
- status_id:
- :values:
- - "1"
- :operator: o
-
- user_id: 3
- column_names:
-queries_003:
- id: 3
- project_id:
- public: false
- include_subprojects: true
- name: Private query for all projects
- filters: |
- ---
- type_id:
- :values:
- - "3"
- :operator: "="
-
- user_id: 3
- column_names:
-queries_004:
- id: 4
- project_id:
- public: true
- include_subprojects: true
- name: Public query for all projects
- filters: |
- ---
- type_id:
- :values:
- - "3"
- :operator: "="
-
- user_id: 2
- column_names:
-queries_005:
- id: 5
- project_id:
- public: true
- include_subprojects: true
- name: Open issues by priority and type
- filters: |
- ---
- status_id:
- :values:
- - "1"
- :operator: o
-
- user_id: 1
- column_names:
- sort_criteria: |
- ---
- - - priority
- - desc
- - - type
- - asc
-queries_006:
- id: 6
- project_id:
- public: true
- include_subprojects: true
- name: Open issues grouped by type
- filters: |
- ---
- status_id:
- :values:
- - "1"
- :operator: o
-
- user_id: 1
- column_names:
- group_by: type
- sort_criteria: |
- ---
- - - priority
- - desc
-queries_007:
- id: 7
- project_id: 2
- public: true
- include_subprojects: true
- name: Public query for project 2
- filters: |
- ---
- type_id:
- :values:
- - "3"
- :operator: "="
-
- user_id: 2
- column_names:
-queries_008:
- id: 8
- project_id: 2
- public: false
- include_subprojects: true
- name: Private query for project 2
- filters: |
- ---
- type_id:
- :values:
- - "3"
- :operator: "="
-
- user_id: 2
- column_names:
-queries_009:
- id: 9
- project_id:
- public: true
- include_subprojects: true
- name: Open issues grouped by list custom field
- filters: |
- ---
- status_id:
- :values:
- - "1"
- :operator: o
-
- user_id: 1
- column_names:
- group_by: cf_1
- sort_criteria: |
- ---
- - - priority
- - desc
-
diff --git a/spec_legacy/fixtures/repositories.yml b/spec_legacy/fixtures/repositories.yml
deleted file mode 100644
index 9f0a8037543..00000000000
--- a/spec_legacy/fixtures/repositories.yml
+++ /dev/null
@@ -1,47 +0,0 @@
-#-- copyright
-# OpenProject is an open source project management software.
-# Copyright (C) 2012-2022 the OpenProject GmbH
-#
-# This program is free software; you can redistribute it and/or
-# modify it under the terms of the GNU General Public License version 3.
-#
-# OpenProject is a fork of ChiliProject, which is a fork of Redmine. The copyright follows:
-# Copyright (C) 2006-2013 Jean-Philippe Lang
-# Copyright (C) 2010-2013 the ChiliProject Team
-#
-# This program is free software; you can redistribute it and/or
-# modify it under the terms of the GNU General Public License
-# as published by the Free Software Foundation; either version 2
-# 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 General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-#
-# See COPYRIGHT and LICENSE files for more details.
-#++
-
----
-repositories_001:
- project_id: 1
- url: file:///<%= Rails.root.to_s.gsub(%r{config\/\.\.}, '') %>/tmp/test/subversion_repository
- id: 10
- root_url: file:///<%= Rails.root.to_s.gsub(%r{config\/\.\.}, '') %>/tmp/test/subversion_repository
- password: ""
- login: ""
- type: Repository::Subversion
- scm_type: existing
-repositories_002:
- project_id: 2
- url: svn://localhost/test
- id: 11
- root_url: svn://localhost
- password: ""
- login: ""
- type: Repository::Subversion
- scm_type: existing
diff --git a/spec_legacy/fixtures/time_entries.yml b/spec_legacy/fixtures/time_entries.yml
deleted file mode 100644
index 6ddc4379a22..00000000000
--- a/spec_legacy/fixtures/time_entries.yml
+++ /dev/null
@@ -1,90 +0,0 @@
-#-- copyright
-# OpenProject is an open source project management software.
-# Copyright (C) 2012-2022 the OpenProject GmbH
-#
-# This program is free software; you can redistribute it and/or
-# modify it under the terms of the GNU General Public License version 3.
-#
-# OpenProject is a fork of ChiliProject, which is a fork of Redmine. The copyright follows:
-# Copyright (C) 2006-2013 Jean-Philippe Lang
-# Copyright (C) 2010-2013 the ChiliProject Team
-#
-# This program is free software; you can redistribute it and/or
-# modify it under the terms of the GNU General Public License
-# as published by the Free Software Foundation; either version 2
-# 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 General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-#
-# See COPYRIGHT and LICENSE files for more details.
-#++
-
----
-time_entries_001:
- created_at: 2007-03-23 12:54:18 +01:00
- tweek: 12
- tmonth: 3
- project_id: 1
- comments: My hours
- updated_at: 2007-03-23 12:54:18 +01:00
- activity_id: 9
- spent_on: 2007-03-23
- work_package_id: 1
- id: 1
- hours: 4.25
- user_id: 2
- logged_by_id: 2
- tyear: 2007
-time_entries_002:
- created_at: 2007-03-23 14:11:04 +01:00
- tweek: 11
- tmonth: 3
- project_id: 1
- comments: ""
- updated_at: 2007-03-23 14:11:04 +01:00
- activity_id: 9
- spent_on: 2007-03-12
- work_package_id: 1
- id: 2
- hours: 150.0
- user_id: 1
- logged_by_id: 1
- tyear: 2007
-time_entries_003:
- created_at: 2007-04-21 12:20:48 +02:00
- tweek: 16
- tmonth: 4
- project_id: 1
- comments: ""
- updated_at: 2007-04-21 12:20:48 +02:00
- activity_id: 9
- spent_on: 2007-04-21
- work_package_id: 3
- id: 3
- hours: 1.0
- user_id: 1
- logged_by_id: 1
- tyear: 2007
-time_entries_004:
- created_at: 2007-04-22 12:20:48 +02:00
- tweek: 16
- tmonth: 4
- project_id: 3
- comments: Time spent on a subproject
- updated_at: 2007-04-22 12:20:48 +02:00
- activity_id: 10
- spent_on: 2007-04-22
- work_package_id:
- id: 4
- hours: 7.65
- user_id: 1
- logged_by_id: 1
- tyear: 2007
-
diff --git a/spec_legacy/fixtures/watchers.yml b/spec_legacy/fixtures/watchers.yml
deleted file mode 100644
index 97ecfb50a34..00000000000
--- a/spec_legacy/fixtures/watchers.yml
+++ /dev/null
@@ -1,42 +0,0 @@
-#-- copyright
-# OpenProject is an open source project management software.
-# Copyright (C) 2012-2022 the OpenProject GmbH
-#
-# This program is free software; you can redistribute it and/or
-# modify it under the terms of the GNU General Public License version 3.
-#
-# OpenProject is a fork of ChiliProject, which is a fork of Redmine. The copyright follows:
-# Copyright (C) 2006-2013 Jean-Philippe Lang
-# Copyright (C) 2010-2013 the ChiliProject Team
-#
-# This program is free software; you can redistribute it and/or
-# modify it under the terms of the GNU General Public License
-# as published by the Free Software Foundation; either version 2
-# 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 General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-#
-# See COPYRIGHT and LICENSE files for more details.
-#++
-
----
-watchers_001:
- watchable_type: WorkPackage
- watchable_id: 2
- user_id: 3
-watchers_002:
- watchable_type: Message
- watchable_id: 1
- user_id: 1
-watchers_003:
- watchable_type: WorkPackage
- watchable_id: 2
- user_id: 1
-
diff --git a/spec_legacy/functional/wiki_controller_spec.rb b/spec_legacy/functional/wiki_controller_spec.rb
index 22a4d0d533b..ec018fcd652 100644
--- a/spec_legacy/functional/wiki_controller_spec.rb
+++ b/spec_legacy/functional/wiki_controller_spec.rb
@@ -232,11 +232,6 @@ describe WikiController, type: :controller do
end
end
- it 'does not found' do
- get :show, params: { project_id: 999 }
- assert_response 404
- end
-
it 'protects page' do
page = WikiPage.find_by(wiki_id: 1, title: 'Another page')
assert !page.protected?
@@ -255,22 +250,6 @@ describe WikiController, type: :controller do
assert !page.reload.protected?
end
- it 'shows page with edit link' do
- session[:user_id] = 2
- get :show, params: { project_id: 1 }
- assert_response :success
- assert_template 'show'
- assert_select 'a', attributes: { href: '/projects/1/wiki/CookBook+documentation/edit' }
- end
-
- it 'shows page without edit link' do
- session[:user_id] = 4
- get :show, params: { project_id: 1 }
- assert_response :success
- assert_template 'show'
- assert_select('a', { attributes: { href: '/projects/1/wiki/CookBook+documentation/edit' } }, false)
- end
-
it 'edits unprotected page' do
# Non members can edit unprotected wiki pages
session[:user_id] = 4