This test depends on ActionView
This commit is contained in:
parent
56e34191d3
commit
d1f12423e1
|
@ -1,6 +1,7 @@
|
|||
# frozen_string_literal: true
|
||||
require 'test_helper'
|
||||
|
||||
if defined? ActionView
|
||||
class PaginatorTagsTest < ActionView::TestCase
|
||||
# A test paginator that can detect instantiated tags inside
|
||||
class TagSpy < Kaminari::Helpers::Paginator
|
||||
|
@ -69,3 +70,4 @@ class PaginatorTagsTest < ActionView::TestCase
|
|||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue