Maintain DB schema to last version in test suite
This commit is contained in:
parent
6e6de7407d
commit
37ac6b769a
@ -7,6 +7,8 @@ Spork.prefork do
|
|||||||
|
|
||||||
Dir[Rails.root.join('spec/support/**/*.rb')].each { |f| require f }
|
Dir[Rails.root.join('spec/support/**/*.rb')].each { |f| require f }
|
||||||
|
|
||||||
|
ActiveRecord::Migration.maintain_test_schema!
|
||||||
|
|
||||||
RSpec.configure do |config|
|
RSpec.configure do |config|
|
||||||
config.backtrace_exclusion_patterns << /\/bundler\/gems\//
|
config.backtrace_exclusion_patterns << /\/bundler\/gems\//
|
||||||
config.infer_spec_type_from_file_location!
|
config.infer_spec_type_from_file_location!
|
||||||
|
Loading…
x
Reference in New Issue
Block a user