mirror of https://github.com/rails/rails
Add sibling AS to load path for testing to ensure gems aren't used
This commit is contained in:
parent
5f56d90085
commit
5581229195
|
@ -28,6 +28,8 @@ task :default => [ :test ]
|
|||
# Run the unit tests
|
||||
|
||||
Rake::TestTask.new { |t|
|
||||
activesupport_path = "#{File.dirname(__FILE__)}/../activesupport/lib"
|
||||
t.libs << activesupport_path if File.directory?(activesupport_path)
|
||||
t.libs << "test"
|
||||
t.pattern = 'test/**/*_test.rb'
|
||||
t.verbose = true
|
||||
|
|
Loading…
Reference in New Issue