Commit 190e0897 authored by Robert Speicher's avatar 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`.
parent 3d4c2d0b
...@@ -44,3 +44,5 @@ RSpec.configure do |config| ...@@ -44,3 +44,5 @@ RSpec.configure do |config|
TestEnv.init TestEnv.init
end end
end end
ActiveRecord::Migration.maintain_test_schema!
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment