Make 'all' option actually fire all rspec tests
This commit is contained in:
parent
03b943b3f5
commit
cb03e12455
1 changed files with 10 additions and 10 deletions
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue