Froze rails gems
[depot.git] / vendor / rails / actionpack / test / controller / translation_test.rb
1 require 'abstract_unit'
2
3 # class TranslatingController < ActionController::Base
4 # end
5
6 class TranslationControllerTest < Test::Unit::TestCase
7 def setup
8 @controller = ActionController::Base.new
9 end
10
11 def test_action_controller_base_responds_to_translate
12 assert @controller.respond_to?(:translate)
13 end
14
15 def test_action_controller_base_responds_to_t
16 assert @controller.respond_to?(:t)
17 end
18
19 def test_action_controller_base_responds_to_localize
20 assert @controller.respond_to?(:localize)
21 end
22
23 def test_action_controller_base_responds_to_l
24 assert @controller.respond_to?(:l)
25 end
26 end