aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Heinemeier Hansson <david@loudthinking.com>2009-12-22 17:25:34 -0800
committerDavid Heinemeier Hansson <david@loudthinking.com>2009-12-22 17:25:34 -0800
commitfe5f66041395f7afa0359af6b075604c63574c85 (patch)
tree9e21075e1ebfb72f1605b3432514ee2e1550331a
parent8e48a5ef0ca488b2264acd2b38bdae14970c011f (diff)
downloadrails-fe5f66041395f7afa0359af6b075604c63574c85.tar.gz
rails-fe5f66041395f7afa0359af6b075604c63574c85.tar.bz2
rails-fe5f66041395f7afa0359af6b075604c63574c85.zip
Dont encourage __FILE__ bullshit
-rw-r--r--actionpack/lib/action_dispatch/testing/integration.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/actionpack/lib/action_dispatch/testing/integration.rb b/actionpack/lib/action_dispatch/testing/integration.rb
index 5c127dfe37..2a5f5dcd5c 100644
--- a/actionpack/lib/action_dispatch/testing/integration.rb
+++ b/actionpack/lib/action_dispatch/testing/integration.rb
@@ -411,7 +411,7 @@ module ActionDispatch
# At its simplest, you simply extend IntegrationTest and write your tests
# using the get/post methods:
#
- # require "#{File.dirname(__FILE__)}/test_helper"
+ # require "test_helper"
#
# class ExampleTest < ActionController::IntegrationTest
# fixtures :people
@@ -435,7 +435,7 @@ module ActionDispatch
# powerful testing DSL that is specific for your application. You can even
# reference any named routes you happen to have defined!
#
- # require "#{File.dirname(__FILE__)}/test_helper"
+ # require "test_helper"
#
# class AdvancedTest < ActionController::IntegrationTest
# fixtures :people, :rooms