diff options
| author | Mike McQuaid | 2017-12-15 09:14:44 +0000 |
|---|---|---|
| committer | Mike McQuaid | 2017-12-15 09:14:44 +0000 |
| commit | 8ed1425ed7d53b93b5c90f1f340ca3e273d51a86 (patch) | |
| tree | ccd25a863ef5509452510ce6d3bb527c836254b3 /Library/Homebrew/test/support | |
| parent | 71ebfa76c53408a2fb40cbc95bb6f39be27da6b7 (diff) | |
| download | brew-8ed1425ed7d53b93b5c90f1f340ca3e273d51a86.tar.bz2 | |
tests: don't output seed multiple times.
This clutters up the output. Instead, hide it with a RSpec formatter and
generate and output it ourselves.
Diffstat (limited to 'Library/Homebrew/test/support')
| -rw-r--r-- | Library/Homebrew/test/support/no_seed_progress_formatter.rb | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/Library/Homebrew/test/support/no_seed_progress_formatter.rb b/Library/Homebrew/test/support/no_seed_progress_formatter.rb new file mode 100644 index 000000000..e87a58143 --- /dev/null +++ b/Library/Homebrew/test/support/no_seed_progress_formatter.rb @@ -0,0 +1,7 @@ +require "rspec/core/formatters/progress_formatter" + +class NoSeedProgressFormatter < RSpec::Core::Formatters::ProgressFormatter + RSpec::Core::Formatters.register self, :seed + + def seed(notification); end +end |
