Sha256: ac6acafa5986276b5e8590426bbb2343a246f6f691dc911803c6b48e48f1f442
Contents?: true
Size: 615 Bytes
Versions: 13
Compression:
Stored size: 615 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
13 entries across 13 versions & 1 rubygems