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

FIx typo nucleous-> nucleus in app/ and modules/ (#8947)

luzpaz4ff8169d3341
diff --git a/app/controllers/copy_projects_controller.rb b/app/controllers/copy_projects_controller.rb
index c31e48c5ead..437435652bf 100644
--- a/app/controllers/copy_projects_controller.rb
+++ b/app/controllers/copy_projects_controller.rb
@@ -71,10 +71,10 @@ class CopyProjectsController < ApplicationController
"copy_from_#{from}"
end
- def project_copy(nucleous, contract = Projects::CreateContract)
+ def project_copy(nucleus, contract = Projects::CreateContract)
Projects::SetAttributesService
.new(user: current_user,
- model: nucleous,
+ model: nucleus,
contract_class: contract)
.call(params[:project] ? permitted_params.project : {})
end
diff --git a/modules/my_page/spec/features/my/time_entries_current_user_spec.rb b/modules/my_page/spec/features/my/time_entries_current_user_spec.rb
index 7ed6c355dbf..1d8ad534efc 100644
--- a/modules/my_page/spec/features/my/time_entries_current_user_spec.rb
+++ b/modules/my_page/spec/features/my/time_entries_current_user_spec.rb
@@ -305,10 +305,10 @@ describe 'My page time entries current user widget spec', type: :feature, js: tr
entries_area.remove
# as the last widget has been removed, the add button is always displayed
- nucleous_area = Components::Grids::GridArea.of(2, 2)
- nucleous_area.expect_to_exist
+ nucleus_area = Components::Grids::GridArea.of(2, 2)
+ nucleus_area.expect_to_exist
- within nucleous_area.area do
+ within nucleus_area.area do
expect(page)
.to have_selector(".grid--widget-add")
end