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
fix flickering spec
ulfertsc8fdeca28bd9
diff --git a/modules/bim/spec/bcf/bcf_xml/issue_writer_spec.rb b/modules/bim/spec/bcf/bcf_xml/issue_writer_spec.rbindex f078d18ef9e..02a21656fd5 100644--- a/modules/bim/spec/bcf/bcf_xml/issue_writer_spec.rb+++ b/modules/bim/spec/bcf/bcf_xml/issue_writer_spec.rb@@ -106,11 +106,12 @@ describe ::OpenProject::Bim::BcfXml::IssueWriter dobcf_issue.comments.first.journal.update_attribute('journable_id', work_package.id)FactoryBot.create(:work_package_journal, notes: "Some note created in OP.", journable_id: work_package.id)- work_package.reloadendshared_examples_for "writes Topic" doit "updates the Topic node" do+ work_package.reload+expect(subject.at('Markup')).to be_presentexpect(subject.at('Topic')).to be_present@@ -120,7 +121,7 @@ describe ::OpenProject::Bim::BcfXml::IssueWriter doexpect(subject.at('Topic/Title').content).to be_eql work_package.subjectexpect(subject.at('Topic/CreationDate').content).to be_eql work_package.created_at.iso8601- expect(subject.at('Topic/ModifiedDate').content).to be_eql work_package.journals.last.created_at.iso8601+ expect(subject.at('Topic/ModifiedDate').content).to be_eql work_package.updated_at.iso8601expect(subject.at('Topic/Description').content).to be_eql work_package.descriptionexpect(subject.at('Topic/CreationAuthor').content).to be_eql work_package.author.mailexpect(subject.at('Topic/ReferenceLink').content).to be_eql url_helpers.work_package_url(work_package)