1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

require abstract_unit directly since test is in load path

git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8569 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
This commit is contained in:
Jeremy Kemper 2008-01-05 13:33:12 +00:00
parent dbed69249f
commit fe66397adf
4 changed files with 4 additions and 4 deletions

View file

@ -28,7 +28,7 @@ task :default => :test
## we can see the failures
task :test do
Dir['test/**/*_test.rb'].all? do |file|
system("ruby #{file}")
system("ruby -Itest #{file}")
end or raise "Failures"
end

View file

@ -50,7 +50,7 @@ Dir.mkdir(RAILS_ROOT) unless File.exist?(RAILS_ROOT)
$LOAD_PATH.unshift "#{File.dirname(__FILE__)}/../../lib"
require 'rails_generator'
require "#{File.dirname(__FILE__)}/generator_test_helper"
require 'generators/generator_test_helper'
class RailsModelGeneratorTest < Test::Unit::TestCase
include GeneratorTestHelper

View file

@ -50,7 +50,7 @@ Dir.mkdir(RAILS_ROOT) unless File.exist?(RAILS_ROOT)
$LOAD_PATH.unshift "#{File.dirname(__FILE__)}/../../lib"
require 'rails_generator'
require "#{File.dirname(__FILE__)}/generator_test_helper"
require 'generators/generator_test_helper'
class RailsResourceGeneratorTest < Test::Unit::TestCase
include GeneratorTestHelper

View file

@ -52,7 +52,7 @@ Dir.mkdir(RAILS_ROOT) unless File.exist?(RAILS_ROOT)
$LOAD_PATH.unshift "#{File.dirname(__FILE__)}/../../lib"
require 'rails_generator'
require "#{File.dirname(__FILE__)}/generator_test_helper"
require 'generators/generator_test_helper'
class RailsScaffoldGeneratorTest < Test::Unit::TestCase