对于测试的每个步骤发生 2 行:
WARNING: there is already a transaction in progress
NOTICE: there is no transaction in progress
Spork 线跟随三元组:
NOTICE: there is no transaction in progress
NOTICE: there is no transaction in progress
NOTICE: there is no transaction in progress
WARNING: there is already a transaction in progress
WARNING: there is already a transaction in progress
WARNING: there is already a transaction in progress
我不知道这可能很重要,只是警告过。宝石文件:
group :test do
gem 'rspec-rails'
gem 'factory_girl_rails'
gem 'spork-rails'
gem 'capybara'
gem 'database_cleaner'
end
都是定制的,所以不需要开发组,反正也没用。这是 spec_helper。我发现它是 PostgreSQL 功能,但我找不到如何修复它。我将不胜感激