- Correction des tests suite à la modification du schéma de la base de données.

This commit is contained in:
Xavier J 2015-09-21 17:59:03 +02:00
parent 5f3a320f2f
commit b3383bec9f
51 changed files with 462 additions and 585 deletions

View file

@ -45,7 +45,7 @@ Dir[Rails.root.join('spec/factories/**/*.rb')].each { |f| require f }
# If you are not using ActiveRecord, you can remove this line.
ActiveRecord::Migration.check_pending! if defined?(ActiveRecord::Migration)
DatabaseCleaner.strategy = :truncation, { except: %w(evenement_vies formulaires types_piece_jointe) }
DatabaseCleaner.strategy = :truncation
SIADETOKEN = :valid_token unless defined? SIADETOKEN