diff options
author | Joshua Peek <josh@joshpeek.com> | 2009-10-03 21:05:51 -0500 |
---|---|---|
committer | Joshua Peek <josh@joshpeek.com> | 2009-10-03 21:05:51 -0500 |
commit | 018b79dd36d054d87fdc408d38dc9ac7f1b1500d (patch) | |
tree | a954ecef58682b2d259432a04ce503f8bb865840 /actionpack/test/new_base/render_implicit_action_test.rb | |
parent | 84e94551f62d3bcbc71f1c6f3fda738342d984e2 (diff) | |
download | rails-018b79dd36d054d87fdc408d38dc9ac7f1b1500d.tar.gz rails-018b79dd36d054d87fdc408d38dc9ac7f1b1500d.tar.bz2 rails-018b79dd36d054d87fdc408d38dc9ac7f1b1500d.zip |
File extra test folders into controller, dispatch, or template
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, 0 insertions, 28 deletions
diff --git a/actionpack/test/new_base/render_implicit_action_test.rb b/actionpack/test/new_base/render_implicit_action_test.rb deleted file mode 100644 index 2b78fa7d4f..0000000000 --- a/actionpack/test/new_base/render_implicit_action_test.rb +++ /dev/null @@ -1,28 +0,0 @@ -require 'abstract_unit' - -module RenderImplicitAction - class SimpleController < ::ApplicationController - self.view_paths = [ActionView::FixtureResolver.new( - "render_implicit_action/simple/hello_world.html.erb" => "Hello world!", - "render_implicit_action/simple/hyphen-ated.html.erb" => "Hello hyphen-ated!" - )] - - def hello_world() end - end - - 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 |