Sha256: dacff4f8a8f236f788fc914278d1468e2065aa72d558f7f9bd5d61e4d2b5c167
Contents?: true
Size: 722 Bytes
Versions: 4
Compression:
Stored size: 722 Bytes
Contents
require File.dirname(__FILE__) + '/../test_helper' class WorkTest < Test::Unit::TestCase fixtures :works def test_work_totals_for_week work_totals = Work.work_totals_for_week(24, 1000001) assert_equal 1, work_totals.size assert_equal Array, work_totals[1].class assert_equal 2, work_totals[1].size assert_equal Array, work_totals[1][0].class assert_equal Array, work_totals[1][1].class assert_equal 0, work_totals[1][1][0] assert_equal 40, work_totals[1][1][1] assert_equal 0, work_totals[1][1][2] assert_equal 0, work_totals[1][1][3] assert_equal 0, work_totals[1][1][4] assert_equal 0, work_totals[1][1][5] assert_equal 0, work_totals[1][1][6] end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
backlog-0.10.4 | test/unit/work_test.rb |
backlog-0.10.5 | test/unit/work_test.rb |
backlog-0.10.6 | test/unit/work_test.rb |
backlog-0.10.7 | test/unit/work_test.rb |