提交 59d1b23e 编写于 作者: J Joshua Peek

Fix failing ARes isolated tests

上级 6dc9ad80
......@@ -34,11 +34,12 @@ Rake::TestTask.new { |t|
t.verbose = true
t.warning = true
}
task :isolated_test do
ruby = File.join(*RbConfig::CONFIG.values_at('bindir', 'RUBY_INSTALL_NAME'))
activesupport_path = "#{File.dirname(__FILE__)}/../activesupport/lib"
Dir.glob("test/**/*_test.rb").all? do |file|
system(ruby, "-Ilib:test:#{activesupport_path}", file)
system(ruby, '-w', "-Ilib:test:#{activesupport_path}", file)
end or raise "Failures"
end
......
require 'abstract_unit'
require 'fixtures/person'
require 'active_support/core_ext/hash/conversions'
class ObservingTest < Test::Unit::TestCase
cattr_accessor :history
......
require 'abstract_unit'
require "fixtures/project"
require 'fixtures/project'
require 'active_support/core_ext/hash/conversions'
# The validations are tested thoroughly under ActiveModel::Validations
# This test case simply makes sur that they are all accessible by
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册