mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Dont encourage __FILE__ bullshit
This commit is contained in:
parent
8e48a5ef0c
commit
fe5f660413
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue