mirror of
https://github.com/rickbarrette/stopwatch.git
synced 2026-04-02 09:51:57 -04:00
fix test
This commit is contained in:
@@ -29,7 +29,7 @@ class StartTimerTest < ActiveSupport::TestCase
|
|||||||
|
|
||||||
@time_entry.reload
|
@time_entry.reload
|
||||||
assert_equal hours, @time_entry.hours
|
assert_equal hours, @time_entry.hours
|
||||||
another = TimeEntry.new(@time_entry.attributes)
|
another = TimeEntry.new(@time_entry.attributes.except('id'))
|
||||||
another.user = @user
|
another.user = @user
|
||||||
r = Stopwatch::StartTimer.new(another, user: @user).call
|
r = Stopwatch::StartTimer.new(another, user: @user).call
|
||||||
assert r.success?
|
assert r.success?
|
||||||
|
|||||||
Reference in New Issue
Block a user