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.27 test/lib/workarea/paged_array_test.rb
workarea-core-3.5.26 test/lib/workarea/paged_array_test.rb
workarea-core-3.4.45 test/lib/workarea/paged_array_test.rb
workarea-core-3.5.25 test/lib/workarea/paged_array_test.rb
workarea-core-3.5.23 test/lib/workarea/paged_array_test.rb
workarea-core-3.4.44 test/lib/workarea/paged_array_test.rb
workarea-core-3.5.22 test/lib/workarea/paged_array_test.rb
workarea-core-3.4.43 test/lib/workarea/paged_array_test.rb
workarea-core-3.5.21 test/lib/workarea/paged_array_test.rb
workarea-core-3.4.42 test/lib/workarea/paged_array_test.rb
workarea-core-3.5.20 test/lib/workarea/paged_array_test.rb
workarea-core-3.4.41 test/lib/workarea/paged_array_test.rb
workarea-core-3.5.19 test/lib/workarea/paged_array_test.rb
workarea-core-3.4.40 test/lib/workarea/paged_array_test.rb
workarea-core-3.5.18 test/lib/workarea/paged_array_test.rb
workarea-core-3.4.39 test/lib/workarea/paged_array_test.rb
workarea-core-3.5.17 test/lib/workarea/paged_array_test.rb
workarea-core-3.4.38 test/lib/workarea/paged_array_test.rb
workarea-core-3.5.16 test/lib/workarea/paged_array_test.rb
workarea-core-3.4.37 test/lib/workarea/paged_array_test.rb