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