summaryrefslogtreecommitdiff
path: root/spec/integration/cli
diff options
context:
space:
mode:
authormo khan <mo.khan@gmail.com>2020-06-12 15:44:13 -0600
committermo khan <mo.khan@gmail.com>2020-06-12 15:44:13 -0600
commite4b947d00f26e9aeb975b4e1933376f8cb1c6051 (patch)
tree9314281c92dcad84b1a1732979eac4449868fc2b /spec/integration/cli
parent077998970180a9f21d287d2716ef9d2eaceb4cfa (diff)
Remove --show-progress option
Diffstat (limited to 'spec/integration/cli')
-rw-r--r--spec/integration/cli/scan_spec.rb10
1 files changed, 5 insertions, 5 deletions
diff --git a/spec/integration/cli/scan_spec.rb b/spec/integration/cli/scan_spec.rb
index c92ea29..1a6b3f2 100644
--- a/spec/integration/cli/scan_spec.rb
+++ b/spec/integration/cli/scan_spec.rb
@@ -7,27 +7,27 @@ RSpec.describe '`spandx scan` command', type: :cli do
end
it 'executes `spandx scan Gemfile.lock`' do
- output = `spandx scan #{fixture_file('bundler/Gemfile.lock')} --no-show-progress`
+ output = `spandx scan #{fixture_file('bundler/Gemfile.lock')} 2> /dev/null`
expect(output).to eq(fixture_file_content('bundler/Gemfile.lock.expected'))
end
it 'executes `spandx scan gems.lock' do
- output = `spandx scan #{fixture_file('bundler/gems.lock')} --no-show-progress`
+ output = `spandx scan #{fixture_file('bundler/gems.lock')} 2> /dev/null`
expect(output).to eq(fixture_file_content('bundler/gems.lock.expected'))
end
it 'executes `spandx scan Pipfile.lock`' do
- output = `spandx scan #{fixture_file('pip/Pipfile.lock')} --no-show-progress`
+ output = `spandx scan #{fixture_file('pip/Pipfile.lock')} 2> /dev/null`
expect(output).to eq(fixture_file_content('pip/Pipfile.lock.expected'))
end
it 'executes `spandx scan yarnfile.lock`' do
- output = `spandx scan #{fixture_file('js/yarn.lock')} --no-show-progress`
+ output = `spandx scan #{fixture_file('js/yarn.lock')} 2> /dev/null`
expect(output).to eq(fixture_file_content('js/yarn.lock.expected'))
end
it 'executes `spandx scan composer.lock`' do
- output = `spandx scan #{fixture_file('composer/composer.lock')} --no-show-progress`
+ output = `spandx scan #{fixture_file('composer/composer.lock')} 2> /dev/null`
expect(output).to eq(fixture_file_content('composer/composer.lock.expected'))
end
end