aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test/template/url_helper_test.rb
diff options
context:
space:
mode:
authorJoshua Peek <josh@joshpeek.com>2008-07-12 14:11:51 -0500
committerJoshua Peek <josh@joshpeek.com>2008-07-12 14:11:51 -0500
commit30204c4e66cea989c4ee48b52c8827c79e98f14a (patch)
tree67732754c6a7deb6d2efbcaae0a9b3ba60ff8920 /actionpack/test/template/url_helper_test.rb
parent65fb2e76f2c4571b04458c7bf6a0c815972232ab (diff)
downloadrails-30204c4e66cea989c4ee48b52c8827c79e98f14a.tar.gz
rails-30204c4e66cea989c4ee48b52c8827c79e98f14a.tar.bz2
rails-30204c4e66cea989c4ee48b52c8827c79e98f14a.zip
Set global ActionController::Base.view_paths for test cases
Diffstat (limited to 'actionpack/test/template/url_helper_test.rb')
-rw-r--r--actionpack/test/template/url_helper_test.rb8
1 files changed, 0 insertions, 8 deletions
diff --git a/actionpack/test/template/url_helper_test.rb b/actionpack/test/template/url_helper_test.rb
index 4ed5bc372f..91d5c6ffb5 100644
--- a/actionpack/test/template/url_helper_test.rb
+++ b/actionpack/test/template/url_helper_test.rb
@@ -302,8 +302,6 @@ end
class UrlHelperWithControllerTest < ActionView::TestCase
class UrlHelperController < ActionController::Base
- self.view_paths = [FIXTURE_LOAD_PATH]
-
def self.controller_path; 'url_helper_with_controller' end
def show_url_for
@@ -366,8 +364,6 @@ end
class LinkToUnlessCurrentWithControllerTest < ActionView::TestCase
class TasksController < ActionController::Base
- self.view_paths = [FIXTURE_LOAD_PATH]
-
def self.controller_path; 'tasks' end
def index
@@ -458,8 +454,6 @@ end
class PolymorphicControllerTest < ActionView::TestCase
class WorkshopsController < ActionController::Base
- self.view_paths = [FIXTURE_LOAD_PATH]
-
def self.controller_path; 'workshops' end
def index
@@ -476,8 +470,6 @@ class PolymorphicControllerTest < ActionView::TestCase
end
class SessionsController < ActionController::Base
- self.view_paths = [FIXTURE_LOAD_PATH]
-
def self.controller_path; 'sessions' end
def index