Sha256: 828c0484e8e266ee9b411c3a3dd5c99d15b4c422e0f8b45aa2fd14d5d09dded4
Contents?: true
Size: 606 Bytes
Versions: 18
Compression:
Stored size: 606 Bytes
Contents
require 'test_helper' module Workarea class I18nHelperTest < ViewTest def test_switch_locale_fields params[:utf8] = 'check' params[:controller] = 'controller' params[:action] = 'action' params[:foo] = 'bar' params[:locale] = 'es' assert_includes(switch_locale_fields, 'foo') assert_includes(switch_locale_fields, 'bar') refute_includes(switch_locale_fields, 'utf8') refute_includes(switch_locale_fields, 'controller') refute_includes(switch_locale_fields, 'action') refute_includes(switch_locale_fields, 'locale') end end end
Version data entries
18 entries across 18 versions & 1 rubygems