From 3a6171fb149765a7c13c4bc365bf616c5aa9703d Mon Sep 17 00:00:00 2001 From: mo khan Date: Sat, 7 Mar 2020 21:58:48 -0700 Subject: Apply gitlab-styles --- spec/integration/python/pipenv_spec.rb | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) (limited to 'spec/integration/python') 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 -- cgit v1.2.3