我正在运行neo4j 2.1.5和rake测试(不是rspec)来测试rails 4.2.0.beta4和ruby 2.1.2,但它返回
test/test_helper.rb:10:in <class:TestCase>: undefined method 'fixtures' for ActiveSupport::TestCase:Class (NoMethodError)
from /home/pdipietro/gsn/test/test_helper.rb:7:in `<top (required)>'
from /home/pdipietro/.rvm/gems/ruby-2.1.2/gems/rake-10.3.2/lib/rake/rake_test_loader.rb:15:in `require'
from /home/pdipietro/.rvm/gems/ruby-2.1.2/gems/rake-10.3.2/lib/rake/rake_test_loader.rb:15:in `block in <main>'
from /home/pdipietro/.rvm/gems/ruby-2.1.2/gems/rake-10.3.2/lib/rake/rake_test_loader.rb:4:in `select'
from /home/pdipietro/.rvm/gems/ruby-2.1.2/gems/rake-10.3.2/lib/rake/rake_test_loader.rb:4:in `<main>'
rake aborted!
这是我的text_helper.rb
ENV['RAILS_ENV'] ||= 'test'
require File.expand_path('../../config/environment', __FILE__)
require 'rails/test_help'
require "minitest/reporters"
Minitest::Reporters.use!
class ActiveSupport::TestCase
fixtures :all
end
有什么建议吗?