1
0
Fork 0
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:
David Heinemeier Hansson 2009-12-22 17:25:34 -08:00
parent 8e48a5ef0c
commit fe5f660413

View file

@ -411,7 +411,7 @@ module ActionDispatch
# At its simplest, you simply extend IntegrationTest and write your tests # At its simplest, you simply extend IntegrationTest and write your tests
# using the get/post methods: # using the get/post methods:
# #
# require "#{File.dirname(__FILE__)}/test_helper" # require "test_helper"
# #
# class ExampleTest < ActionController::IntegrationTest # class ExampleTest < ActionController::IntegrationTest
# fixtures :people # fixtures :people
@ -435,7 +435,7 @@ module ActionDispatch
# powerful testing DSL that is specific for your application. You can even # powerful testing DSL that is specific for your application. You can even
# reference any named routes you happen to have defined! # reference any named routes you happen to have defined!
# #
# require "#{File.dirname(__FILE__)}/test_helper" # require "test_helper"
# #
# class AdvancedTest < ActionController::IntegrationTest # class AdvancedTest < ActionController::IntegrationTest
# fixtures :people, :rooms # fixtures :people, :rooms