Permalink
Browse files

Dont encourage __FILE__ bullshit

  • Loading branch information...
1 parent 8e48a5e commit fe5f66041395f7afa0359af6b075604c63574c85 @dhh dhh committed Dec 23, 2009
Showing with 2 additions and 2 deletions.
  1. +2 −2 actionpack/lib/action_dispatch/testing/integration.rb
@@ -411,7 +411,7 @@ def method_missing(sym, *args, &block)
# 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 @@ def method_missing(sym, *args, &block)
# 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

0 comments on commit fe5f660

Please sign in to comment.