aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/test
diff options
context:
space:
mode:
authorMike McQuaid2017-07-21 14:41:40 +0100
committerGitHub2017-07-21 14:41:40 +0100
commit9747bc397a43f082aaaec24d4583ec465349eead (patch)
tree632582819dcd7d0db8850df3bc1982b1dcc962ae /Library/Homebrew/test
parente0560ff363d5efa177cf567281e78f73848557b4 (diff)
parent086e540231691bca054b70e79ec37cc344b14d37 (diff)
downloadbrew-9747bc397a43f082aaaec24d4583ec465349eead.tar.bz2
Merge pull request #2906 from GauthamGoli/new_formula_rubocop_fix
style: disable NewFormulaAudit cops' execution by default unless specified
Diffstat (limited to 'Library/Homebrew/test')
-rw-r--r--Library/Homebrew/test/cmd/style_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/Library/Homebrew/test/cmd/style_spec.rb b/Library/Homebrew/test/cmd/style_spec.rb
index 3c4c3f809..4701036f1 100644
--- a/Library/Homebrew/test/cmd/style_spec.rb
+++ b/Library/Homebrew/test/cmd/style_spec.rb
@@ -4,12 +4,12 @@ describe "brew style" do
around(:each) do |example|
begin
FileUtils.ln_s HOMEBREW_LIBRARY_PATH, HOMEBREW_LIBRARY/"Homebrew"
- FileUtils.ln_s HOMEBREW_LIBRARY_PATH.parent/".rubocop.yml", HOMEBREW_LIBRARY/".rubocop.yml"
+ FileUtils.ln_s HOMEBREW_LIBRARY_PATH.parent/".rubocop.yml", HOMEBREW_LIBRARY/".auditcops.yml"
example.run
ensure
FileUtils.rm_f HOMEBREW_LIBRARY/"Homebrew"
- FileUtils.rm_f HOMEBREW_LIBRARY/".rubocop.yml"
+ FileUtils.rm_f HOMEBREW_LIBRARY/".auditcops.yml"
end
end