Drop knapsack
It constantly fails with "Mysql2::Error: This connection is in use by...". Might be because of database cleaner? But until we can get this stable, rip it out again. Replaced by a matrix based on test type
This commit is contained in:
parent
da91ff8371
commit
a0b79c7789
10 changed files with 24 additions and 692 deletions
|
|
@ -16,12 +16,19 @@ case $TEST_SUITE in
|
|||
bundle exec rubocop -Dc .rubocop.yml
|
||||
bundle exec haml-lint app/views
|
||||
;;
|
||||
rspec)
|
||||
bundle exec rake "knapsack:rspec[--color --format documentation]"
|
||||
models)
|
||||
bundle exec rspec --format documentation spec/models
|
||||
;;
|
||||
*)
|
||||
bundle exec rubocop -Dc .rubocop.yml
|
||||
bundle exec haml-lint app/views
|
||||
bundle exec rspec --color --format documentation
|
||||
features)
|
||||
bundle exec rspec --format documentation spec/features
|
||||
;;
|
||||
controllers)
|
||||
bundle exec rspec --format documentation spec/controllers
|
||||
;;
|
||||
ability)
|
||||
bundle exec rspec --format documentation spec/ability
|
||||
;;
|
||||
rest)
|
||||
bundle exec rspec --format documentation --exclude-pattern "spec/{models,features,controllers,ability}/**/*_spec.rb"
|
||||
;;
|
||||
esac
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue