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
Ruby agile-developmentangularbcfboardsbug-trackerganttgantt-chartifcissue-trackerjira-alternativekanbanopenprojectproduct-managementproject-managementproject-planningroadmaprubyscrumtimelineworkflows
Replace fixtures with times
Oliver Güntherb0bea5774cdc
diff --git a/spec_legacy/fixtures/messages.yml b/spec_legacy/fixtures/messages.ymlindex cfe6e878378..b7e1d7ebb90 100644--- a/spec_legacy/fixtures/messages.yml+++ b/spec_legacy/fixtures/messages.yml@@ -72,8 +72,8 @@ messages_004:parent_id:forum_id: 1messages_005:- created_at: <%= 3.days.ago.to_date.to_fs(:db) %>- updated_at: <%= 3.days.ago.to_date.to_fs(:db) %>+ created_at: <%= 3.days.ago %>+ updated_at: <%= 3.days.ago %>subject: 'RE: post 2'id: 5replies_count: 0@@ -83,8 +83,8 @@ messages_005:parent_id: 4forum_id: 1messages_006:- created_at: <%= 2.days.ago.to_date.to_fs(:db) %>- updated_at: <%= 2.days.ago.to_date.to_fs(:db) %>+ created_at: <%= 2.days.ago %>+ updated_at: <%= 2.days.ago %>subject: 'RE: post 2'id: 6replies_count: 0@@ -94,8 +94,8 @@ messages_006:parent_id: 4forum_id: 1messages_007:- created_at: <%= 2.days.ago.to_date.to_fs(:db) %>- updated_at: <%= 2.days.ago.to_date.to_fs(:db) %>+ created_at: <%= 2.days.ago %>+ updated_at: <%= 2.days.ago %>subject: 'Message on a private project'id: 7replies_count: 0diff --git a/spec_legacy/fixtures/work_packages.yml b/spec_legacy/fixtures/work_packages.ymlindex c116a4d649a..8e9ea1865dc 100644--- a/spec_legacy/fixtures/work_packages.yml+++ b/spec_legacy/fixtures/work_packages.yml@@ -28,9 +28,9 @@---issues_001:- created_at: <%= 3.days.ago.to_date.to_fs(:db) %>+ created_at: <%= 3.days.ago %>project_id: 1- updated_at: <%= 1.day.ago.to_date.to_fs(:db) %>+ updated_at: <%= 1.day.ago %>priority_id: 4subject: Can't print recipesid: 1@@ -79,9 +79,9 @@ issues_003:start_date: <%= 15.day.ago.to_date.to_fs(:db) %>due_date: <%= 5.day.ago.to_date.to_fs(:db) %>issues_004:- created_at: <%= 5.days.ago.to_date.to_fs(:db) %>+ created_at: <%= 5.days.ago %>project_id: 2- updated_at: <%= 2.days.ago.to_date.to_fs(:db) %>+ updated_at: <%= 2.days.ago %>priority_id: 4subject: Issue on project 2id: 4@@ -93,9 +93,9 @@ issues_004:author_id: 2status_id: 1issues_005:- created_at: <%= 5.days.ago.to_date.to_fs(:db) %>+ created_at: <%= 5.days.ago %>project_id: 3- updated_at: <%= 2.days.ago.to_date.to_fs(:db) %>+ updated_at: <%= 2.days.ago %>priority_id: 4subject: Subproject issueid: 5@@ -107,9 +107,9 @@ issues_005:author_id: 2status_id: 1issues_006:- created_at: <%= 1.minute.ago.to_date.to_fs(:db) %>+ created_at: <%= 1.minute.ago %>project_id: 5- updated_at: <%= 1.minute.ago.to_date.to_fs(:db) %>+ updated_at: <%= 1.minute.ago %>priority_id: 4subject: Issue of a private subprojectid: 6@@ -123,9 +123,9 @@ issues_006:start_date: <%= Date.today.to_fs(:db) %>due_date: <%= 1.days.from_now.to_date.to_fs(:db) %>issues_007:- created_at: <%= 10.days.ago.to_date.to_fs(:db) %>+ created_at: <%= 10.days.ago %>project_id: 1- updated_at: <%= 10.days.ago.to_date.to_fs(:db) %>+ updated_at: <%= 10.days.ago %>priority_id: 5subject: Issue due todayid: 7@@ -139,9 +139,9 @@ issues_007:start_date: <%= 10.days.ago.to_fs(:db) %>due_date: <%= Date.today.to_fs(:db) %>issues_008:- created_at: <%= 10.days.ago.to_date.to_fs(:db) %>+ created_at: <%= 10.days.ago %>project_id: 1- updated_at: <%= 10.days.ago.to_date.to_fs(:db) %>+ updated_at: <%= 10.days.ago %>priority_id: 5subject: Closed issueid: 8@@ -155,9 +155,9 @@ issues_008:start_date:due_date:issues_009:- created_at: <%= 1.minute.ago.to_date.to_fs(:db) %>+ created_at: <%= 1.minute.ago %>project_id: 5- updated_at: <%= 1.minute.ago.to_date.to_fs(:db) %>+ updated_at: <%= 1.minute.ago %>priority_id: 5subject: Blocked Issueid: 9@@ -171,9 +171,9 @@ issues_009:start_date: <%= Date.today.to_fs(:db) %>due_date: <%= 1.days.from_now.to_date.to_fs(:db) %>issues_010:- created_at: <%= 1.minute.ago.to_date.to_fs(:db) %>+ created_at: <%= 1.minute.ago %>project_id: 5- updated_at: <%= 1.minute.ago.to_date.to_fs(:db) %>+ updated_at: <%= 1.minute.ago %>priority_id: 5subject: Issue Doing the Blockingid: 10@@ -187,9 +187,9 @@ issues_010:start_date: <%= Date.today.to_fs(:db) %>due_date: <%= 1.days.from_now.to_date.to_fs(:db) %>issues_011:- created_at: <%= 3.days.ago.to_date.to_fs(:db) %>+ created_at: <%= 3.days.ago %>project_id: 1- updated_at: <%= 1.day.ago.to_date.to_fs(:db) %>+ updated_at: <%= 1.day.ago %>priority_id: 5subject: Closed issue on a closed versionid: 11@@ -203,9 +203,9 @@ issues_011:start_date: <%= 1.day.ago.to_date.to_fs(:db) %>due_date:issues_012:- created_at: <%= 3.days.ago.to_date.to_fs(:db) %>+ created_at: <%= 3.days.ago %>project_id: 1- updated_at: <%= 1.day.ago.to_date.to_fs(:db) %>+ updated_at: <%= 1.day.ago %>priority_id: 5subject: Closed issue on a locked versionid: 12@@ -219,9 +219,9 @@ issues_012:start_date: <%= 1.day.ago.to_date.to_fs(:db) %>due_date:issues_013:- created_at: <%= 5.days.ago.to_date.to_fs(:db) %>+ created_at: <%= 5.days.ago %>project_id: 3- updated_at: <%= 2.days.ago.to_date.to_fs(:db) %>+ updated_at: <%= 2.days.ago %>priority_id: 4subject: Subproject issue twoid: 13