aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test/controller/deprecation
diff options
context:
space:
mode:
authorJoshua Peek <josh@joshpeek.com>2008-06-25 15:24:12 -0500
committerJoshua Peek <josh@joshpeek.com>2008-06-25 15:24:12 -0500
commit339491a6b37722497ebafe9998e17507f47e8fd6 (patch)
tree96e7dc63607054c6e3ce6f08e41a9e96d8a44ea5 /actionpack/test/controller/deprecation
parenta9259ccfe05690dc4cb7993d551603c39619c27f (diff)
downloadrails-339491a6b37722497ebafe9998e17507f47e8fd6.tar.gz
rails-339491a6b37722497ebafe9998e17507f47e8fd6.tar.bz2
rails-339491a6b37722497ebafe9998e17507f47e8fd6.zip
Set precompiled fixture load path constant to speed up tests
Diffstat (limited to 'actionpack/test/controller/deprecation')
-rw-r--r--actionpack/test/controller/deprecation/deprecated_base_methods_test.rb3
1 files changed, 1 insertions, 2 deletions
diff --git a/actionpack/test/controller/deprecation/deprecated_base_methods_test.rb b/actionpack/test/controller/deprecation/deprecated_base_methods_test.rb
index 8c1a8954a5..f485500b7f 100644
--- a/actionpack/test/controller/deprecation/deprecated_base_methods_test.rb
+++ b/actionpack/test/controller/deprecation/deprecated_base_methods_test.rb
@@ -2,7 +2,6 @@ require 'abstract_unit'
class DeprecatedBaseMethodsTest < Test::Unit::TestCase
class Target < ActionController::Base
-
def home_url(greeting)
"http://example.com/#{greeting}"
end
@@ -14,7 +13,7 @@ class DeprecatedBaseMethodsTest < Test::Unit::TestCase
def rescue_action(e) raise e end
end
- Target.view_paths = [ File.dirname(__FILE__) + "/../../fixtures" ]
+ Target.view_paths = [FIXTURE_LOAD_PATH]
def setup
@request = ActionController::TestRequest.new