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

rename events.project_attributes to events.project_details

Ivan Kuchin06b683ce930e
diff --git a/config/locales/en.yml b/config/locales/en.yml
index de3080a1044..22e6a91f66e 100644
--- a/config/locales/en.yml
+++ b/config/locales/en.yml
@@ -2141,7 +2141,7 @@ en:
changeset: "Changeset edited"
message: Message edited
news: News
- project_attributes: "Project attributes edited"
+ project_details: "Project details edited"
project: "Project edited"
projects: "Project edited"
reply: Replied
diff --git a/spec/models/activities/fetcher_integration_spec.rb b/spec/models/activities/fetcher_integration_spec.rb
index 74fd67e815d..ee3bbfae254 100644
--- a/spec/models/activities/fetcher_integration_spec.rb
+++ b/spec/models/activities/fetcher_integration_spec.rb
@@ -74,7 +74,7 @@ RSpec.describe Activities::Fetcher, "integration" do
end
it "finds only events for which permissions are satisfied" do
- # project attributes, news and message only require the user to be member
+ # project details, news and message only require the user to be member
expect(subject.map(&:journable_id))
.to contain_exactly(project.id, message.id, news.id)
end
@@ -123,7 +123,7 @@ RSpec.describe Activities::Fetcher, "integration" do
end
it "finds only events for which permissions are satisfied" do
- # project attributes, news and message only require the user to be member
+ # project details, news and message only require the user to be member
expect(subject.map(&:journable_id))
.to contain_exactly(project.id, message.id, news.id)
end
@@ -212,7 +212,7 @@ RSpec.describe Activities::Fetcher, "integration" do
end
it "finds only events for which permissions are satisfied" do
- # project attributes and news only require the user to be member
+ # project details and news only require the user to be member
expect(subject.map(&:journable_id))
.to contain_exactly(project.id, subproject.id, news.id, subproject_news.id, work_package.id)
expect(subject.filter { |e| e.event_type.starts_with?("work_package") }.map(&:journable_id))
@@ -274,7 +274,7 @@ RSpec.describe Activities::Fetcher, "integration" do
end
it "finds only events for which permissions are satisfied" do
- # project attributes, news and message only require the user to be member
+ # project details, news and message only require the user to be member
expect(subject.map(&:journable_id))
.to contain_exactly(project.id, message.id, news.id)
end