aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test/controller/basic_rendering_test.rb
diff options
context:
space:
mode:
authorŁukasz Strzałkowski <lukasz.strzalkowski@gmail.com>2013-08-11 23:19:22 +0200
committerŁukasz Strzałkowski <lukasz.strzalkowski@gmail.com>2013-08-25 11:40:10 +0200
commita2ca04bb3ac178bbe1503ac65dc88f5f3f8cb37f (patch)
tree22857d7f2c78d12f6dfcd4b8a03e8dfa560af792 /actionpack/test/controller/basic_rendering_test.rb
parentc40c362ec1ac9ec96e92ddb046b67b713a434e48 (diff)
downloadrails-a2ca04bb3ac178bbe1503ac65dc88f5f3f8cb37f.tar.gz
rails-a2ca04bb3ac178bbe1503ac65dc88f5f3f8cb37f.tar.bz2
rails-a2ca04bb3ac178bbe1503ac65dc88f5f3f8cb37f.zip
Extend basic rendering, test it in railties
Diffstat (limited to 'actionpack/test/controller/basic_rendering_test.rb')
-rw-r--r--actionpack/test/controller/basic_rendering_test.rb19
1 files changed, 0 insertions, 19 deletions
diff --git a/actionpack/test/controller/basic_rendering_test.rb b/actionpack/test/controller/basic_rendering_test.rb
deleted file mode 100644
index 2db3cff395..0000000000
--- a/actionpack/test/controller/basic_rendering_test.rb
+++ /dev/null
@@ -1,19 +0,0 @@
-require 'abstract_unit'
-
-class BasicRenderingController < ActionController::Base
- def render_hello_world
- render text: "Hello World!"
- end
-end
-
-class BasicRenderingTest < ActionController::TestCase
- tests BasicRenderingController
-
- def test_render_hello_world
- get :render_hello_world
-
- assert_equal "Hello World!", @response.body
- assert_equal "text/plain", @response.content_type
- end
-end
- \ No newline at end of file