Skip to content

Commit 41c26c2

Browse files
Update system spec
1 parent 2119fb9 commit 41c26c2

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

test/system/timer_sessions_management_test.rb

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,13 +18,17 @@ class TimerSessionsManagementTest < ApplicationSystemTestCase
1818
:with_issues,
1919
:with_time_entries,
2020
user: User.current)
21+
@timer_sessions << FactoryBot.create(:timer_session, :with_issues, :with_time_entries, user: User.current, comments: nil)
22+
2123
visit timer_sessions_path
2224
end
2325

2426
test 'index' do
2527
@timer_sessions.each do |timer_session|
2628
assert has_content?(timer_session.comments)
2729
end
30+
31+
assert has_content?(I18n.t(:no_comment))
2832
end
2933

3034
test 'index - does not raise error when rendering time entries on same date' do

0 commit comments

Comments
 (0)