Skip to content

Add ActiveRecord::Migration.maintain_test_schema! to spec_helper

Created by: rspeicher

New in Rails 4.1, this eliminates spec failures due to forgetting to run db:test:prepare.

Merge request reports