summaryrefslogtreecommitdiff
path: root/spec/integration/python/pip_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/integration/python/pip_spec.rb')
-rw-r--r--spec/integration/python/pip_spec.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/spec/integration/python/pip_spec.rb b/spec/integration/python/pip_spec.rb
index 0853a71..a8e4b91 100644
--- a/spec/integration/python/pip_spec.rb
+++ b/spec/integration/python/pip_spec.rb
@@ -58,9 +58,9 @@ RSpec.describe "pip" do
it 'matches the expected report' do
runner.clone(url, branch: '48e250a1')
report = runner.scan(env: environment)
- #expect(report).to match_schema(version: report_version)
- expected = JSON.parse(fixture_file_content("expected/#{language}/#{python_version}/#{package_manager}/v#{report_version}.json"))
- expect(report).to eql(expected)
+ content = fixture_file_content("expected/#{language}/#{python_version}/#{package_manager}/v#{report_version}.json")
+ expect(report).to eq(JSON.parse(content, symbolize_names: true))
+ expect(report).to match_schema(version: report_version)
end
end
end