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
Please register or sign in to comment
New in Rails 4.1, this eliminates spec failures due to forgetting to run `db:test:prepare`.