test/helpers_test.rb in translatable_routes-1.3.3 vs test/helpers_test.rb in translatable_routes-1.3.4
- old
+ new
@@ -1,9 +1,10 @@
require 'test_helper'
class HelpersTest < ActionView::TestCase
+ include Rails.application.routes.url_helpers
- test "create helpers" do
+ test 'helpers' do
I18n.available_locales.each do |locale|
I18n.locale = locale
assert_equal(
"/#{locale}/#{I18n.t('routes.namespace')}/#{I18n.t('routes.nested')}",
namespace_nested_path