Sha256: a0db32331699e6b7458bf7cca12bc2f335e0c1af101f7df190fe19f16b5131c3
Contents?: true
Size: 617 Bytes
Versions: 11
Compression:
Stored size: 617 Bytes
Contents
require_relative '../../test_helper' module RocketJobMissionControl class PaginationHelperTest < ActionView::TestCase describe PaginationHelper do describe '#page_nav_disabled_class' do describe 'when the current position equals the boundary' do it 'returns disabled' do assert_equal 'disabled', page_nav_disabled_class(0, 0) end end describe 'when the current position is NOT equal to the boundary' do it 'returns blank' do assert page_nav_disabled_class(4, 0).blank? end end end end end end
Version data entries
11 entries across 11 versions & 1 rubygems