summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authormo khan <mo.khan@gmail.com>2020-02-02 16:02:44 -0700
committermo khan <mo.khan@gmail.com>2020-02-02 16:02:44 -0700
commit9b9d1473b0c26302e16c2d86310bf176d775fc28 (patch)
tree026a16f213bc18568ad6486a321e117389b79df7 /spec
parentc5ce6876a2014569b934d259e37cad78bcc8469c (diff)
Fix linter errorsv0.4.0
Diffstat (limited to 'spec')
-rw-r--r--spec/integration/build_spec.rb12
-rw-r--r--spec/integration/scan_spec.rb10
2 files changed, 11 insertions, 11 deletions
diff --git a/spec/integration/build_spec.rb b/spec/integration/build_spec.rb
index cc2c774..5e080f6 100644
--- a/spec/integration/build_spec.rb
+++ b/spec/integration/build_spec.rb
@@ -4,14 +4,14 @@ RSpec.describe '`spandx build` command', type: :cli do
it 'executes `spandx help build` command successfully' do
output = `spandx help build`
expected_output = <<~OUT
-Usage:
- spandx build
+ Usage:
+ spandx build
-Options:
- -h, [--help], [--no-help] # Display usage information
- -d, [--directory=DIRECTORY] # Directory to build index in
+ Options:
+ -h, [--help], [--no-help] # Display usage information
+ -d, [--directory=DIRECTORY] # Directory to build index in
-Build a package index
+ Build a package index
OUT
expect(output).to eq(expected_output)
diff --git a/spec/integration/scan_spec.rb b/spec/integration/scan_spec.rb
index 9ff4571..8b8b610 100644
--- a/spec/integration/scan_spec.rb
+++ b/spec/integration/scan_spec.rb
@@ -4,13 +4,13 @@ RSpec.describe '`spandx scan` command', type: :cli do
it 'executes `spandx help scan` command successfully' do
output = `spandx help scan`
expected_output = <<~OUT
-Usage:
- spandx scan LOCKFILE
+ Usage:
+ spandx scan LOCKFILE
-Options:
- -h, [--help], [--no-help] # Display usage information
+ Options:
+ -h, [--help], [--no-help] # Display usage information
-Scan a lockfile and list dependencies/licenses
+ Scan a lockfile and list dependencies/licenses
OUT
expect(output).to eq(expected_output)