diff options
| author | Dan Allen <dan.j.allen@gmail.com> | 2019-05-14 01:03:00 -0600 |
|---|---|---|
| committer | Dan Allen <dan.j.allen@gmail.com> | 2019-05-14 01:03:00 -0600 |
| commit | bdcc4a34cb890f746dcb6c6c0dece098cb40da43 (patch) | |
| tree | 81d17ef7c5c9dba9ce2cd36ee704c342cec4fb08 /tasks | |
| parent | 4e1b17a77a52b760aace841d7e6eca6c2da4bca6 (diff) | |
fix warnings in test suite; enable warnings when running tests
Diffstat (limited to 'tasks')
| -rw-r--r-- | tasks/rspec.rake | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/tasks/rspec.rake b/tasks/rspec.rake index 244d17db..51dfb0bb 100644 --- a/tasks/rspec.rake +++ b/tasks/rspec.rake @@ -1,6 +1,11 @@ begin require 'rspec/core/rake_task' - RSpec::Core::RakeTask.new :spec + RSpec::Core::RakeTask.new :spec do |t| + t.verbose = true + opts = %w(-f progress) + opts.unshift '-w' if !ENV['CI'] || ENV['COVERAGE'] + t.rspec_opts = opts + end rescue LoadError warn $!.message end |
