diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index 6c71f631..bec05b48 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -19,6 +19,8 @@ require 'rspec/rails' # end with _spec.rb. You can configure this pattern with with the --pattern # option on the command line or in ~/.rspec, .rspec or `.rspec-local`. +# Checks for pending migrations before tests are run. +# If you are not using ActiveRecord, you can remove this line. ActiveRecord::Migration.maintain_test_schema! Dir[Rails.root.join("spec/support/**/*.rb")].each { |f| require f }