提交 190e0897 编写于 作者: R Robert Speicher

Add ActiveRecord::Migration.maintain_test_schema! to spec_helper

New in Rails 4.1, this eliminates spec failures due to forgetting to run
`db:test:prepare`.
上级 3d4c2d0b
......@@ -44,3 +44,5 @@ RSpec.configure do |config|
TestEnv.init
end
end
ActiveRecord::Migration.maintain_test_schema!
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册