require File.expand_path('../../test_helper', __FILE__)

class HelperTestController < ActionController::Base
  def test
    render text: nil
  end
end

class TestHelperTest < ActionView::TestCase
  include RouteTranslator::ConfigurationHelper
  include RouteTranslator::RoutesHelper

  def setup
    setup_config
    config_default_locale_settings 'en'

    @routes = ActionDispatch::Routing::RouteSet.new

    draw_routes do
      localized do
        get :helper_test, to: 'helper_test#test'
      end
    end
  end

  def teardown
    teardown_config
  end

  def test_no_private_method_call
    helper_test_path
  end
end

Add action view test case
Add action view test case