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