Commit b503b14fc8d214e199beb8472b973de3d849c241

Authored by Andrew Kane
1 parent d56fa7ab

Fixed deprecation warning in tests [skip ci]

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
test/pagination_test.rb
... ... @@ -90,7 +90,7 @@ class PaginationTest < Minitest::Test
90 90 I18n.load_path = Dir["test/support/kaminari.yml"]
91 91 I18n.backend.load_translations
92 92  
93   - view = ActionView::Base.new
  93 + view = ActionView::Base.new(ActionView::LookupContext.new([]))
94 94  
95 95 store_names ["Product A"]
96 96 assert_equal "Displaying <b>1</b> product", view.page_entries_info(Product.search("product"))
... ...