diff options
author | Yehuda Katz + Carl Lerche <ykatz+clerche@engineyard.com> | 2009-04-27 18:21:26 -0700 |
---|---|---|
committer | Yehuda Katz + Carl Lerche <ykatz+clerche@engineyard.com> | 2009-05-01 17:31:01 -0700 |
commit | 8a4e77b4200946ba4ed42fe5927a7400a846063a (patch) | |
tree | 4d61ebd026f32bd9af32c93f93b3071232b1d8ee /actionpack/test/controller/render_test.rb | |
parent | 34509777fd375e5bc529f21ca66cf63263c2cf64 (diff) | |
download | rails-8a4e77b4200946ba4ed42fe5927a7400a846063a.tar.gz rails-8a4e77b4200946ba4ed42fe5927a7400a846063a.tar.bz2 rails-8a4e77b4200946ba4ed42fe5927a7400a846063a.zip |
OMG, a lot of work
Diffstat (limited to 'actionpack/test/controller/render_test.rb')
-rw-r--r-- | actionpack/test/controller/render_test.rb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/actionpack/test/controller/render_test.rb b/actionpack/test/controller/render_test.rb index 023bf0eeaa..a97e8ac5c1 100644 --- a/actionpack/test/controller/render_test.rb +++ b/actionpack/test/controller/render_test.rb @@ -755,6 +755,7 @@ class RenderTest < ActionController::TestCase @request.host = "www.nextangle.com" end + # :ported: def test_simple_show get :hello_world assert_response 200 @@ -763,11 +764,13 @@ class RenderTest < ActionController::TestCase assert_equal "<html>Hello world!</html>", @response.body end + # :ported: def test_renders_default_template_for_missing_action get :'hyphen-ated' assert_template 'test/hyphen-ated' end + # :ported: def test_render get :render_hello_world assert_template "test/hello_world" |