demarches-normaliennes/spec
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
..
controllers factories: cleanup Administrateur, Instructeur and Expert factories 2021-10-26 12:03:30 +02:00
factories specs: only build an admin when building a procedure 2021-10-26 12:03:30 +02:00
fixtures homogennize api particulier endpoint test url 2021-10-12 14:27:20 +02:00
helpers add spec for archive weight estimation 2021-06-09 10:52:38 +02:00
jobs Prevent double processing of declarative dossiers 2021-06-04 17:55:40 +02:00
lib source service supports unknown scope 2021-10-12 14:27:20 +02:00
mailers fix(i18n): enable locale for email previews 2021-09-09 13:06:51 -05:00
middlewares specs: always require rails_helper 2020-03-31 12:48:32 +02:00
models factories: cleanup Administrateur, Instructeur and Expert factories 2021-10-26 12:03:30 +02:00
policies factories: cleanup Administrateur, Instructeur and Expert factories 2021-10-26 12:03:30 +02:00
serializers Add compatibility cadsatre layer with old API GEO 2021-05-24 11:57:00 +02:00
services services: cache zxcvbn dictionaries per-thread 2021-10-25 12:04:56 +02:00
support specs: migrate from features to system specs 2021-10-26 12:24:46 +02:00
system specs: migrate from features to system specs 2021-10-26 12:24:46 +02:00
views specs: remove invalid js: true specifier 2021-10-19 16:41:36 +02:00
rails_helper.rb specs: migrate from features to system specs 2021-10-26 12:24:46 +02:00
spec_helper.rb Chore(test): enable rspec only-failures support 2021-04-15 14:17:39 +02:00