This test depends on ActionView

This commit is contained in:
Akira Matsuda 2016-12-14 14:00:37 +09:00
parent 56e34191d3
commit d1f12423e1
1 changed files with 57 additions and 55 deletions

View File

@ -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