demarches-normaliennes/spec/support
Pierre de La Morinerie 9fd38cae5e specs: migrate from features to system specs
System specs have been available since Rails 5.1, and are better
integrated with the Rails framework.

- Rename `spec/features` to `spec/system`
- Rename `feature do` to `describe do`
- Configure Capybara for system specs

Steps mostly taken from https://medium.com/table-xi/a-quick-guide-to-rails-system-tests-in-rspec-b6e9e8a8b5f6
2021-10-26 12:24:46 +02:00
..
active_job.rb specs: clear jobs queue before each test 2021-03-16 11:49:14 +01:00
capybara.rb specs: migrate from features to system specs 2021-10-26 12:24:46 +02:00
controller_helpers.rb Files should not start with a new line 2017-04-04 16:59:38 +02:00
download_helpers.rb ajout d'un test sur le telechargement de zips 2020-07-21 15:45:57 +02:00
factory_bot.rb spec: better split spec_helper and rails_helper 2021-03-04 22:59:39 +01:00
feature_matchers.rb features: move feature matchers to their own file 2019-11-27 11:58:45 +01:00
shared_examples_for_jobs.rb jobs: extract an RetryOnTranscientErrors concern 2021-04-29 14:08:12 +02:00
shared_exemples_for_dossier.rb specs: always require rails_helper 2020-03-31 12:48:32 +02:00
system_helpers.rb specs: migrate from features to system specs 2021-10-26 12:24:46 +02:00
vcr.rb spec: better split spec_helper and rails_helper 2021-03-04 22:59:39 +01:00
warden.rb spec: better split spec_helper and rails_helper 2021-03-04 22:59:39 +01:00
webmock.rb spec: better split spec_helper and rails_helper 2021-03-04 22:59:39 +01:00