aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/test
diff options
context:
space:
mode:
authorGautham Goli2017-04-23 04:09:13 +0530
committerGautham Goli2017-05-02 23:26:12 +0530
commitc3330c289d0cc774b8154a0cee0f52fbd4b867aa (patch)
tree80ed27ae97960cc9d99984675f2d7ea4b6c030d0 /Library/Homebrew/test
parenta4568a8697e9ff4a3d8f62e37ee929e22f10d07d (diff)
downloadbrew-c3330c289d0cc774b8154a0cee0f52fbd4b867aa.tar.bz2
Add `--only-cops`,`--except-cops` options for brew audit
Also refactor audit cops into two "departments" - FormulaAudit - FormulaAuditStrict
Diffstat (limited to 'Library/Homebrew/test')
-rw-r--r--Library/Homebrew/test/rubocops/bottle_block_cop_spec.rb2
-rw-r--r--Library/Homebrew/test/rubocops/formula_desc_cop_spec.rb2
2 files changed, 2 insertions, 2 deletions
diff --git a/Library/Homebrew/test/rubocops/bottle_block_cop_spec.rb b/Library/Homebrew/test/rubocops/bottle_block_cop_spec.rb
index 5be2d6cf5..a7ae0c6ac 100644
--- a/Library/Homebrew/test/rubocops/bottle_block_cop_spec.rb
+++ b/Library/Homebrew/test/rubocops/bottle_block_cop_spec.rb
@@ -3,7 +3,7 @@ require "rubocop/rspec/support"
require_relative "../../extend/string"
require_relative "../../rubocops/bottle_block_cop"
-describe RuboCop::Cop::Homebrew::CorrectBottleBlock do
+describe RuboCop::Cop::FormulaAuditStrict::CorrectBottleBlock do
subject(:cop) { described_class.new }
context "When auditing Bottle Block" do
diff --git a/Library/Homebrew/test/rubocops/formula_desc_cop_spec.rb b/Library/Homebrew/test/rubocops/formula_desc_cop_spec.rb
index 04c4c27da..7a3026703 100644
--- a/Library/Homebrew/test/rubocops/formula_desc_cop_spec.rb
+++ b/Library/Homebrew/test/rubocops/formula_desc_cop_spec.rb
@@ -3,7 +3,7 @@ require "rubocop/rspec/support"
require_relative "../../extend/string"
require_relative "../../rubocops/formula_desc_cop"
-describe RuboCop::Cop::Homebrew::FormulaDesc do
+describe RuboCop::Cop::FormulaAuditStrict::FormulaDesc do
subject(:cop) { described_class.new }
context "When auditing formula desc" do