diff options
author | Pratik Naik <pratiknaik@gmail.com> | 2009-05-20 21:15:06 +0200 |
---|---|---|
committer | Pratik Naik <pratiknaik@gmail.com> | 2009-05-20 21:15:06 +0200 |
commit | c03b0ca7eb7e73587005e1440bf90cd01ed10aa5 (patch) | |
tree | 508196be70cad42b4debce6103fb5f5e2b3c5cbe /actionpack/test/new_base/render_implicit_action_test.rb | |
parent | 6761759a90c08b9db8d5720a8ee4c4329a547caf (diff) | |
download | rails-c03b0ca7eb7e73587005e1440bf90cd01ed10aa5.tar.gz rails-c03b0ca7eb7e73587005e1440bf90cd01ed10aa5.tar.bz2 rails-c03b0ca7eb7e73587005e1440bf90cd01ed10aa5.zip |
Replace the class level Rack::Test DSL with the regular integration tests DSL
Diffstat (limited to 'actionpack/test/new_base/render_implicit_action_test.rb')
-rw-r--r-- | actionpack/test/new_base/render_implicit_action_test.rb | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/actionpack/test/new_base/render_implicit_action_test.rb b/actionpack/test/new_base/render_implicit_action_test.rb index 58f5cec181..2846df48da 100644 --- a/actionpack/test/new_base/render_implicit_action_test.rb +++ b/actionpack/test/new_base/render_implicit_action_test.rb @@ -10,19 +10,19 @@ module RenderImplicitAction def hello_world() end end - class TestImplicitRender < SimpleRouteCase - describe "render a simple action with new explicit call to render" - - get "/render_implicit_action/simple/hello_world" - assert_body "Hello world!" - assert_status 200 - end - - class TestImplicitWithSpecialCharactersRender < SimpleRouteCase - describe "render an action with a missing method and has special characters" - - get "/render_implicit_action/simple/hyphen-ated" - assert_body "Hello hyphen-ated!" - assert_status 200 + class RenderImplicitActionTest < SimpleRouteCase + test "render a simple action with new explicit call to render" do + get "/render_implicit_action/simple/hello_world" + + assert_body "Hello world!" + assert_status 200 + end + + test "render an action with a missing method and has special characters" do + get "/render_implicit_action/simple/hyphen-ated" + + assert_body "Hello hyphen-ated!" + assert_status 200 + end end end
\ No newline at end of file |