aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/cask/spec
diff options
context:
space:
mode:
authorMarkus Reiter2016-10-18 16:10:36 +0200
committerMarkus Reiter2016-10-18 16:39:08 +0200
commit3a22aff1b6f1cba97cffcbe64ed063f863a5b61d (patch)
tree889fe9f7c6e618d5a34b93c2370cde2daefac2e3 /Library/Homebrew/cask/spec
parent2da012d84d81dad61b7a5e071c9f827c822a6fed (diff)
downloadbrew-3a22aff1b6f1cba97cffcbe64ed063f863a5b61d.tar.bz2
Refactor `brew cask style` not to require `.rubocop.yml`.
Diffstat (limited to 'Library/Homebrew/cask/spec')
-rw-r--r--Library/Homebrew/cask/spec/cask/cli/style_spec.rb6
1 files changed, 1 insertions, 5 deletions
diff --git a/Library/Homebrew/cask/spec/cask/cli/style_spec.rb b/Library/Homebrew/cask/spec/cask/cli/style_spec.rb
index 74ff10814..dbd6970d5 100644
--- a/Library/Homebrew/cask/spec/cask/cli/style_spec.rb
+++ b/Library/Homebrew/cask/spec/cask/cli/style_spec.rb
@@ -175,12 +175,8 @@ describe Hbc::CLI::Style do
describe "#default_args" do
subject { cli.default_args }
- let(:rubocop_config) { ".rubocop.yml" }
- before do
- allow(cli).to receive(:rubocop_config).and_return(rubocop_config)
- end
- it { is_expected.to include("--format", "simple", "--force-exclusion", "--config", rubocop_config) }
+ it { is_expected.to include("--require", "rubocop-cask", "--format", "simple", "--force-exclusion") }
end
describe "#autocorrect_args" do