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`.
Showing
想要评论请 注册 或 登录
New in Rails 4.1, this eliminates spec failures due to forgetting to run `db:test:prepare`.