mirror of
https://github.com/Homebrew/brew.git
synced 2025-07-14 16:09:03 +08:00
spec_helper: add focus support.
When adding `, :focus` as a trailing argument to a `describe` or `it` this allows you to only run that single test.
This commit is contained in:
parent
0740855f81
commit
0b69ca85f7
@ -41,6 +41,8 @@ TEST_DIRECTORIES = [
|
||||
RSpec.configure do |config|
|
||||
config.order = :random
|
||||
|
||||
config.filter_run_when_matching :focus
|
||||
|
||||
config.include(Test::Helper::Shutup)
|
||||
config.include(Test::Helper::Fixtures)
|
||||
config.include(Test::Helper::Formula)
|
||||
|
Loading…
x
Reference in New Issue
Block a user