1 require 'abstract_unit'
3 # class TranslatingController < ActionController::Base
6 class TranslationControllerTest
< Test
::Unit::TestCase
8 @controller = ActionController
::Base.new
11 def test_action_controller_base_responds_to_translate
12 assert
@controller.respond_to
?(:translate)
15 def test_action_controller_base_responds_to_t
16 assert
@controller.respond_to
?(:t)
19 def test_action_controller_base_responds_to_localize
20 assert
@controller.respond_to
?(:localize)
23 def test_action_controller_base_responds_to_l
24 assert
@controller.respond_to
?(:l)