diff options
author | Joshua Peek <josh@joshpeek.com> | 2009-09-23 23:03:24 -0500 |
---|---|---|
committer | Joshua Peek <josh@joshpeek.com> | 2009-09-23 23:03:24 -0500 |
commit | 542ddde5d49d9152c544f1f7483852dc8d4fc925 (patch) | |
tree | ef125b9fb5b570c08b61b728a88bcefae05be7ef /actionpack/test/template | |
parent | 4a55d1de8d42694bd060d834c549c53c079dd747 (diff) | |
download | rails-542ddde5d49d9152c544f1f7483852dc8d4fc925.tar.gz rails-542ddde5d49d9152c544f1f7483852dc8d4fc925.tar.bz2 rails-542ddde5d49d9152c544f1f7483852dc8d4fc925.zip |
Move helpers specific to functional tests out of TestProcess into AC::TestCase
Diffstat (limited to 'actionpack/test/template')
-rw-r--r-- | actionpack/test/template/url_helper_test.rb | 14 |
1 files changed, 3 insertions, 11 deletions
diff --git a/actionpack/test/template/url_helper_test.rb b/actionpack/test/template/url_helper_test.rb index 447d520ef1..ce99482078 100644 --- a/actionpack/test/template/url_helper_test.rb +++ b/actionpack/test/template/url_helper_test.rb @@ -5,8 +5,6 @@ require 'controller/fake_controllers' RequestMock = Struct.new("Request", :request_uri, :protocol, :host_with_port, :env) class UrlHelperTest < ActionView::TestCase - tests ActionView::Helpers::UrlHelper - def setup super @controller = Class.new do @@ -386,9 +384,7 @@ class UrlHelperController < ActionController::Base def rescue_action(e) raise e end end -class UrlHelperWithControllerTest < ActionView::TestCase - tests ActionView::Helpers::UrlHelper - +class UrlHelperWithControllerTest < ActionController::TestCase def setup super @request = ActionController::TestRequest.new @@ -463,9 +459,7 @@ class TasksController < ActionController::Base end end -class LinkToUnlessCurrentWithControllerTest < ActionView::TestCase - tests ActionView::Helpers::UrlHelper - +class LinkToUnlessCurrentWithControllerTest < ActionController::TestCase def setup super @request = ActionController::TestRequest.new @@ -566,9 +560,7 @@ class SessionsController < ActionController::Base def rescue_action(e) raise e end end -class PolymorphicControllerTest < ActionView::TestCase - tests ActionView::Helpers::UrlHelper - +class PolymorphicControllerTest < ActionController::TestCase def setup super @request = ActionController::TestRequest.new |