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
Reintegrate strings
Klaus Zanders5a4b3b651c2a
diff --git a/spec/models/work_package/work_package_acts_as_journalized_spec.rb b/spec/models/work_package/work_package_acts_as_journalized_spec.rbindex d4e6aca438a..190276f38b9 100644--- a/spec/models/work_package/work_package_acts_as_journalized_spec.rb+++ b/spec/models/work_package/work_package_acts_as_journalized_spec.rb@@ -415,10 +415,8 @@ RSpec.describe WorkPackage doendcontext 'for only journal notes adding' do- let(:note_text) { 'some notes' }-subject do- work_package.add_journal(user: User.current, notes: note_text)+ work_package.add_journal(user: User.current, notes: 'some notes')work_package.saveend@@ -432,15 +430,13 @@ RSpec.describe WorkPackage doendit 'stores the note with the existing journal entry' do- expect { subject }.to change { work_package.last_journal.notes }.from('').to(note_text)+ expect { subject }.to change { work_package.last_journal.notes }.from('').to('some notes')endendcontext 'for mixed journal notes and attribute adding' do- let(:note_text) { 'some notes' }-subject do- work_package.add_journal(user: User.current, notes: note_text)+ work_package.add_journal(user: User.current, notes: 'some notes')work_package.subject = 'blubs'work_package.saveend@@ -455,7 +451,7 @@ RSpec.describe WorkPackage doendit 'stores the note with the existing journal entry' do- expect { subject }.to change { work_package.last_journal.notes }.from('').to(note_text)+ expect { subject }.to change { work_package.last_journal.notes }.from('').to('some noes')endend