Sha256: 5761eec58a8d1abccdd6d78a8caa850414be57e003942a269b24e26b9a3fe6b4

Contents?: true

Size: 243 Bytes

Versions: 62

Compression:

Stored size: 243 Bytes

Contents

require 'test_helper'

module Workarea
  class PagedArrayTest < TestCase
    def test_can_be_initialized_with_defaults
      arr = PagedArray.new
      assert_equal(1, arr.current_page)
      assert_equal(0, arr.total_count)
    end
  end
end

Version data entries

62 entries across 62 versions & 1 rubygems

Version Path
workarea-core-3.5.15 test/lib/workarea/paged_array_test.rb
workarea-core-3.4.36 test/lib/workarea/paged_array_test.rb
workarea-core-3.5.14 test/lib/workarea/paged_array_test.rb
workarea-core-3.4.35 test/lib/workarea/paged_array_test.rb
workarea-core-3.5.13 test/lib/workarea/paged_array_test.rb
workarea-core-3.4.34 test/lib/workarea/paged_array_test.rb
workarea-core-3.5.12 test/lib/workarea/paged_array_test.rb
workarea-core-3.4.33 test/lib/workarea/paged_array_test.rb
workarea-core-3.5.11 test/lib/workarea/paged_array_test.rb
workarea-core-3.5.10 test/lib/workarea/paged_array_test.rb
workarea-core-3.4.32 test/lib/workarea/paged_array_test.rb
workarea-core-3.5.9 test/lib/workarea/paged_array_test.rb
workarea-core-3.4.31 test/lib/workarea/paged_array_test.rb
workarea-core-3.5.8 test/lib/workarea/paged_array_test.rb
workarea-core-3.4.30 test/lib/workarea/paged_array_test.rb
workarea-core-3.5.7 test/lib/workarea/paged_array_test.rb
workarea-core-3.4.29 test/lib/workarea/paged_array_test.rb
workarea-core-3.5.6 test/lib/workarea/paged_array_test.rb
workarea-core-3.4.28 test/lib/workarea/paged_array_test.rb
workarea-core-3.5.5 test/lib/workarea/paged_array_test.rb