Make 'all' option actually fire all rspec tests

This commit is contained in:
CactusPuppy 2021-03-02 15:09:34 -08:00
parent 03b943b3f5
commit cb03e12455
No known key found for this signature in database
GPG key ID: 4B33B0A3E15E2C82

View file

@ -15,20 +15,20 @@ case $TEST_SUITE in
linters) linters)
bundle exec rubocop -Dc .rubocop.yml bundle exec rubocop -Dc .rubocop.yml
bundle exec haml-lint app/views bundle exec haml-lint app/views
;; ;;&
models) models|all)
bundle exec rspec --format documentation spec/models bundle exec rspec --format documentation spec/models
;; ;;&
features) features|all)
bundle exec rspec --format documentation spec/features bundle exec rspec --format documentation spec/features
;; ;;&
controllers) controllers|all)
bundle exec rspec --format documentation spec/controllers bundle exec rspec --format documentation spec/controllers
;; ;;&
ability) ability|all)
bundle exec rspec --format documentation spec/ability bundle exec rspec --format documentation spec/ability
;; ;;&
rest) rest|all)
bundle exec rspec --format documentation --exclude-pattern "spec/{models,features,controllers,ability}/**/*_spec.rb" bundle exec rspec --format documentation --exclude-pattern "spec/{models,features,controllers,ability}/**/*_spec.rb"
;; ;;
esac esac