From cb03e12455a61924442672430cda27b2125788f0 Mon Sep 17 00:00:00 2001 From: CactusPuppy Date: Tue, 2 Mar 2021 15:09:34 -0800 Subject: [PATCH] Make 'all' option actually fire all rspec tests --- bin/travis_script.sh | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/bin/travis_script.sh b/bin/travis_script.sh index 3f4f52cf..57ca8aa5 100755 --- a/bin/travis_script.sh +++ b/bin/travis_script.sh @@ -15,20 +15,20 @@ case $TEST_SUITE in linters) bundle exec rubocop -Dc .rubocop.yml bundle exec haml-lint app/views - ;; - models) + ;;& + models|all) bundle exec rspec --format documentation spec/models - ;; - features) + ;;& + features|all) bundle exec rspec --format documentation spec/features - ;; - controllers) + ;;& + controllers|all) bundle exec rspec --format documentation spec/controllers - ;; - ability) + ;;& + ability|all) bundle exec rspec --format documentation spec/ability - ;; - rest) + ;;& + rest|all) bundle exec rspec --format documentation --exclude-pattern "spec/{models,features,controllers,ability}/**/*_spec.rb" ;; esac