demarches-normaliennes/spec
Pierre de La Morinerie cae256fd28 rspec: allow Rails to auto-migrate the test schema
rails_helper already has `ActiveRecord::Migration.maintain_test_schema!`
which automatically updates the test database if needed.

However, if we raise **before** `maintain_test_schema` had the chance
to do its job, the test database is never-automigrated.

Thus by removing the check, we ensure the test database will be migrated
as needed (and still an error will be raised if the schema cannot be
applied).
2020-03-31 12:48:32 +02:00
..
controllers specs: always require rails_helper 2020-03-31 12:48:32 +02:00
factories affiche infos d'un usager entreprise uniquement si diffusable 2020-03-17 15:57:02 +00:00
features specs: always require rails_helper 2020-03-31 12:48:32 +02:00
fixtures récupère les infos d'établissement avec infos non diffusables 2020-03-17 15:57:02 +00:00
helpers specs: always require rails_helper 2020-03-31 12:48:32 +02:00
jobs specs: always require rails_helper 2020-03-31 12:48:32 +02:00
lib specs: always require rails_helper 2020-03-31 12:48:32 +02:00
mailers specs: always require rails_helper 2020-03-31 12:48:32 +02:00
middlewares specs: always require rails_helper 2020-03-31 12:48:32 +02:00
models specs: always require rails_helper 2020-03-31 12:48:32 +02:00
policies specs: always require rails_helper 2020-03-31 12:48:32 +02:00
serializers Fix tests involving attachment urls 2020-01-08 14:46:18 +01:00
services specs: always require rails_helper 2020-03-31 12:48:32 +02:00
support specs: always require rails_helper 2020-03-31 12:48:32 +02:00
views specs: always require rails_helper 2020-03-31 12:48:32 +02:00
rails_helper.rb specs: always require rails_helper 2020-03-31 12:48:32 +02:00
spec_helper.rb rspec: allow Rails to auto-migrate the test schema 2020-03-31 12:48:32 +02:00