diff options
| author | Markus Reiter | 2018-01-28 17:53:49 +0100 | 
|---|---|---|
| committer | GitHub | 2018-01-28 17:53:49 +0100 | 
| commit | 9f4b4a169975a5bb9272974963d4d37d873affc6 (patch) | |
| tree | f6abff344754ccacfddade799f11d9bbbb0a7857 /Library/Homebrew/test/cask/cli | |
| parent | 5244755a5283f72ec1684a9e4b44a6aed2d51a82 (diff) | |
| parent | 884c57f9f4ed44096e46c1e0510cce89e15b2477 (diff) | |
| download | brew-9f4b4a169975a5bb9272974963d4d37d873affc6.tar.bz2 | |
Merge pull request #3740 from reitermarkus/cask-style
Fix `brew cask style` on Travis.
Diffstat (limited to 'Library/Homebrew/test/cask/cli')
| -rw-r--r-- | Library/Homebrew/test/cask/cli/style_spec.rb | 7 | 
1 files changed, 5 insertions, 2 deletions
diff --git a/Library/Homebrew/test/cask/cli/style_spec.rb b/Library/Homebrew/test/cask/cli/style_spec.rb index 12cd348a0..850f04f8d 100644 --- a/Library/Homebrew/test/cask/cli/style_spec.rb +++ b/Library/Homebrew/test/cask/cli/style_spec.rb @@ -22,7 +22,10 @@ describe Hbc::CLI::Style, :cask do      context "when rubocop succeeds" do        let(:success) { true } -      it { is_expected.to be_truthy } + +      it "does not raise an error" do +        expect { subject }.not_to raise_error +      end      end      context "when rubocop fails" do @@ -132,7 +135,7 @@ describe Hbc::CLI::Style, :cask do    describe "#default_args" do      subject { cli.default_args } -    it { is_expected.to include("--require", "rubocop-cask", "--format", "simple", "--force-exclusion") } +    it { is_expected.to include("--require", "rubocop-cask", "--format", "simple") }    end    describe "#autocorrect_args" do  | 
