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 space issues in item_subtitle_component_spec

Mir Bhatia9c266ec78c22
diff --git a/spec/components/activities/item_subtitle_component_spec.rb b/spec/components/activities/item_subtitle_component_spec.rb
index ac2429e63df..73c588936fa 100644
--- a/spec/components/activities/item_subtitle_component_spec.rb
+++ b/spec/components/activities/item_subtitle_component_spec.rb
@@ -74,16 +74,13 @@ RSpec.describe Activities::ItemSubtitleComponent, type: :component do
let(:user) { build_stubbed(:user) }
let(:journable_type) { 'TimeEntry' }
- it { is_expected.to have_text("time logged by #{user.name} on #{format_time(datetime)}") }
+ it { is_expected.to have_text("time logged by #{user.name} on #{format_time(datetime)}") }
end
context 'on TimeEntry updation' do
let(:is_creation) { false }
let(:user) { build_stubbed(:user) }
let(:journable_type) { 'TimeEntry' }
-
- it { is_expected.to have_text("time logged updated by #{user.name} on #{format_time(datetime)}") }
+ it { is_expected.to have_text("time logged updated by #{user.name} on #{format_time(datetime)}") }
end
-
- # space issues?
end