Skip to content

Commit

Permalink
Make specs less verbose when running many
Browse files Browse the repository at this point in the history
  • Loading branch information
reggieb authored and hannako committed Jun 16, 2020
1 parent cba6c14 commit 9c00589
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
1 change: 0 additions & 1 deletion .rspec
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
--color
--require spec_helper
--format documentation
4 changes: 1 addition & 3 deletions spec/spec_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,7 @@

config.disable_monkey_patching!

if config.files_to_run.one?
config.default_formatter = "doc"
end
config.default_formatter = config.files_to_run.one? ? "doc" : "progress"

config.order = :random

Expand Down

0 comments on commit 9c00589

Please sign in to comment.