summaryrefslogtreecommitdiff
path: root/spec/integration/python
diff options
context:
space:
mode:
Diffstat (limited to 'spec/integration/python')
-rw-r--r--spec/integration/python/pipenv_spec.rb16
1 files changed, 11 insertions, 5 deletions
diff --git a/spec/integration/python/pipenv_spec.rb b/spec/integration/python/pipenv_spec.rb
index c8ee01d..f0aa0db 100644
--- a/spec/integration/python/pipenv_spec.rb
+++ b/spec/integration/python/pipenv_spec.rb
@@ -10,7 +10,7 @@ RSpec.describe "pipenv" do
"hash": { "sha256": "" },
"pipfile-spec": 6,
"requires": { "python_version": "3.8" },
- "sources": [ { "name": "pypi", "url": "https://pypi.org/simple", "verify_ssl": true } ]
+ "sources": [{ "name": "pypi", "url": "https://pypi.org/simple", "verify_ssl": true }]
},
"default": {
"six": { "hashes": [], "index": "pypi", "version": "==1.13.0" }
@@ -58,7 +58,7 @@ RSpec.describe "pipenv" do
"appdirs": { "version": "==1.4.0", "hash": "" }
},
"_meta": {
- "sources": [ { "url": "https://pypi.python.org/simple", "verify_ssl": true } ],
+ "sources": [{ "url": "https://pypi.python.org/simple", "verify_ssl": true }],
"requires": {},
"Pipfile-sha256": "24f12b631b7c40b8c5eff934a1aef263ed04f5eaffb4acf4706442f3d23cba36"
}
@@ -92,7 +92,7 @@ RSpec.describe "pipenv" do
"requirements-parser",
"setuptools",
"six",
- "toml",
+ "toml"
])
end
end
@@ -142,8 +142,14 @@ RSpec.describe "pipenv" do
expect(report).not_to be_empty
expect(report[:version]).not_to be_empty
expect(report[:licenses]).not_to be_empty
- expect(report[:dependencies].map { |x| x[:name] }).to match_array([
- 'certifi', 'chardet', 'idna', 'requests', 'urllib3', 'py', 'pytest'
+ expect(report[:dependencies].map { |x| x[:name] }).to match_array(%w[
+ certifi
+ chardet
+ idna
+ py
+ pytest
+ requests
+ urllib3
])
end
end