aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test/controller/new_base
diff options
context:
space:
mode:
authorSantiago Pastorino <santiago@wyeworks.com>2010-11-06 21:00:26 -0200
committerSantiago Pastorino <santiago@wyeworks.com>2010-11-06 21:15:03 -0200
commit2382667955df08599cb5df7bf3ef135817093d74 (patch)
tree51dd2cb4ea08c089e8e9dd1ad3fd45b36771ad8c /actionpack/test/controller/new_base
parentc11102d4f80267e3774985329ea93e7368e8684f (diff)
downloadrails-2382667955df08599cb5df7bf3ef135817093d74.tar.gz
rails-2382667955df08599cb5df7bf3ef135817093d74.tar.bz2
rails-2382667955df08599cb5df7bf3ef135817093d74.zip
Fix problems trying to functional test AC::Metal controllers
[#5393 state:committed]
Diffstat (limited to 'actionpack/test/controller/new_base')
-rw-r--r--actionpack/test/controller/new_base/bare_metal_test.rb7
1 files changed, 7 insertions, 0 deletions
diff --git a/actionpack/test/controller/new_base/bare_metal_test.rb b/actionpack/test/controller/new_base/bare_metal_test.rb
index 44922cecff..543c02b2c5 100644
--- a/actionpack/test/controller/new_base/bare_metal_test.rb
+++ b/actionpack/test/controller/new_base/bare_metal_test.rb
@@ -39,4 +39,11 @@ module BareMetalTest
assert_equal 404, status
end
end
+
+ class BareControllerTest < ActionController::TestCase
+ test "GET index" do
+ get :index
+ assert_equal "Hello world", @response.body
+ end
+ end
end