diff options
| author | mo khan <mo.khan@gmail.com> | 2020-03-07 21:58:48 -0700 |
|---|---|---|
| committer | mo khan <mo.khan@gmail.com> | 2020-03-07 21:58:48 -0700 |
| commit | 3a6171fb149765a7c13c4bc365bf616c5aa9703d (patch) | |
| tree | 2f51de2e86f8122f2af4b414028e250cde084eba /spec/integration/python | |
| parent | fd8c62ea5df2e9a983a9dc9c0741f88dc00b911d (diff) | |
Apply gitlab-styles
Diffstat (limited to 'spec/integration/python')
| -rw-r--r-- | spec/integration/python/pipenv_spec.rb | 16 |
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 |
