summaryrefslogtreecommitdiff
path: root/spec/integration/dependabot/cli_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/integration/dependabot/cli_spec.rb')
-rw-r--r--spec/integration/dependabot/cli_spec.rb5
1 files changed, 2 insertions, 3 deletions
diff --git a/spec/integration/dependabot/cli_spec.rb b/spec/integration/dependabot/cli_spec.rb
index 0d6b8a0..b1de7ec 100644
--- a/spec/integration/dependabot/cli_spec.rb
+++ b/spec/integration/dependabot/cli_spec.rb
@@ -1,9 +1,8 @@
# frozen_string_literal: true
RSpec.describe Dependabot::CLI, type: :cli do
- it "executes `dependabot help scan` command successfully" do
- expect(`./exe/dependabot help scan`).to eq(fixture_file_content("help-scan.expected"))
- end
+ it { expect(`./exe/dependabot help scan`).to eq(fixture_file_content("help-scan.expected")) }
+ it { expect(`./exe/dependabot help`).to eq(fixture_file_content("help.expected")) }
describe Dependabot::CLI::Scan do
subject!(:dependabot) { File.join(Dir.pwd, "exe/dependabot") }