Maintain DB schema to last version in test suite

This commit is contained in:
Thibault Jouan 2015-05-05 03:23:54 +00:00
parent 6e6de7407d
commit 37ac6b769a

View File

@ -7,6 +7,8 @@ Spork.prefork do
Dir[Rails.root.join('spec/support/**/*.rb')].each { |f| require f }
ActiveRecord::Migration.maintain_test_schema!
RSpec.configure do |config|
config.backtrace_exclusion_patterns << /\/bundler\/gems\//
config.infer_spec_type_from_file_location!