我试着运行rake test:profile
时得到this error。该错误是由test_homepage
这是在这个文件来:运行测试时出现意外错误
require 'test_helper'
require 'rails/performance_test_help'
# Profiling results for each test method are written to tmp/performance.
class BrowsingTest < ActionDispatch::PerformanceTest
def test_homepage
get '/'
end
end
我不明白为什么运行这个测试有什么关系创造了银行。任何人都可以解释发生了什么?
你可以发布你的db/seeds.rb文件吗? – 2011-01-14 19:12:32