~michaelforrest/use-case-mapper/trunk

« back to all changes in this revision

Viewing changes to vendor/rails/actionpack/test/controller/translation_test.rb

  • Committer: Richard Lee (Canonical)
  • Date: 2010-10-15 15:17:58 UTC
  • mfrom: (190.1.3 use-case-mapper)
  • Revision ID: richard.lee@canonical.com-20101015151758-wcvmfxrexsongf9d
Merge

Show diffs side-by-side

added added

removed removed

Lines of Context:
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
 
 
b'\\ No newline at end of file'