More consistent api

This commit is contained in:
2019-11-17 20:48:25 +03:00
parent af95c67110
commit fbb11fbcd8
6 changed files with 48 additions and 42 deletions

View File

@ -67,7 +67,7 @@ module Dayoff::Test
it "can calc remaining time" do
prof = create_profile
span = prof.remaining_time t(3, 12)
span = prof.total_status t(3, 12)
expected = 8 * 3 - 10 * 2
expected.should eq span.total_hours
end