diff options
Diffstat (limited to 'spec/integration/cli/scan_spec.rb')
| -rw-r--r-- | spec/integration/cli/scan_spec.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/integration/cli/scan_spec.rb b/spec/integration/cli/scan_spec.rb index 79d45aa..4d82a8f 100644 --- a/spec/integration/cli/scan_spec.rb +++ b/spec/integration/cli/scan_spec.rb @@ -90,8 +90,8 @@ RSpec.describe '`spandx scan` command', type: :cli do it 'executes `spandx scan composer.lock`' do lockfile = fixture_file('composer/composer.lock') - output = `spandx scan #{lockfile} --format=json` + output = `spandx scan #{lockfile}` - expect(JSON.parse(output)).to eq(JSON.parse(fixture_file_content('composer/composer.lock.expected'))) + expect(output).to eq(fixture_file_content('composer/composer.lock.expected')) end end |
