Add statistics table

This commit is contained in:
2020-02-27 22:16:39 +03:00
parent 76bae89331
commit a2d8855f28
6 changed files with 122 additions and 5 deletions

View File

@ -77,5 +77,11 @@ module Dayoff::Test
span = prof.date_status t(1, 15)
span.total_hours.should eq 3
end
it "can get statistics" do
prof = create_profile
stat = prof.statistics t(3, 12)
stat.size.should eq 3
end
end
end