Skip to content

Commit bb1d5cf

Browse files
committed
Fix spec
1 parent d988745 commit bb1d5cf

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

test/unit/timer_session_test.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ class TimerSessionTest < ActiveSupport::TestCase
109109
end
110110

111111
test 'round_timer_start_when_timer_end_is_nil' do
112-
timer_session = FactoryBot.build(:timer_session, user: User.current)
112+
timer_session = FactoryBot.build(:timer_session, user: User.current, finished: false)
113113
timer_session.timer_end = nil
114114
timer_session.timer_start = Time.zone.now + 45.seconds
115115

0 commit comments

Comments
 (0)