Skip to content

Commit

Permalink
Dont encourage __FILE__ bullshit
Browse files Browse the repository at this point in the history
  • Loading branch information
dhh committed Dec 23, 2009
1 parent 8e48a5e commit fe5f660
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions actionpack/lib/action_dispatch/testing/integration.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit fe5f660

Please sign in to comment.