demarches-normaliennes/spec/system
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
..
accessibilite specs: migrate from features to system specs 2021-10-26 12:24:46 +02:00
admin specs: migrate from features to system specs 2021-10-26 12:24:46 +02:00
api_particulier specs: migrate from features to system specs 2021-10-26 12:24:46 +02:00
experts specs: migrate from features to system specs 2021-10-26 12:24:46 +02:00
france_connect specs: migrate from features to system specs 2021-10-26 12:24:46 +02:00
instructeurs specs: migrate from features to system specs 2021-10-26 12:24:46 +02:00
new_administrateur specs: migrate from features to system specs 2021-10-26 12:24:46 +02:00
routing specs: migrate from features to system specs 2021-10-26 12:24:46 +02:00
sessions specs: migrate from features to system specs 2021-10-26 12:24:46 +02:00
users specs: migrate from features to system specs 2021-10-26 12:24:46 +02:00
forgery_spec.rb specs: migrate from features to system specs 2021-10-26 12:24:46 +02:00
help_spec.rb specs: migrate from features to system specs 2021-10-26 12:24:46 +02:00
i18n_spec.rb specs: migrate from features to system specs 2021-10-26 12:24:46 +02:00
outdated_browser_spec.rb specs: migrate from features to system specs 2021-10-26 12:24:46 +02:00