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 version mismatch in wiki_diff_spec

Mir Bhatiaae86f103ea05
diff --git a/spec/lib/journal_formatter/wiki_diff_spec.rb b/spec/lib/journal_formatter/wiki_diff_spec.rb
index c07f8f006a5..a8d8e3e1051 100644
--- a/spec/lib/journal_formatter/wiki_diff_spec.rb
+++ b/spec/lib/journal_formatter/wiki_diff_spec.rb
@@ -49,7 +49,8 @@ describe OpenProject::JournalFormatter::WikiDiff do
end
let(:wiki_journal) do
build_stubbed(:wiki_content_journal,
- journable: wiki_content)
+ journable: wiki_content,
+ version: 1)
end
let(:wiki_instance) { klass.new(wiki_journal) }
let(:wiki_key) { 'text' }