Skip to content
Snippets Groups Projects
Commit 190e0897 authored by Robert Speicher's avatar Robert Speicher
Browse files

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`.
parent 3d4c2d0b
No related branches found
No related tags found
2 merge requests!9041Add ActiveRecord::Migration.maintain_test_schema! to spec_helper,!8686add "Uplaod" and "Replace" functionality
Loading
Loading
@@ -44,3 +44,5 @@ RSpec.configure do |config|
TestEnv.init
end
end
ActiveRecord::Migration.maintain_test_schema!
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment