diff options
Diffstat (limited to 'spec/unit/python')
| -rw-r--r-- | spec/unit/python/parsers/pipfile_lock_spec.rb | 2 | ||||
| -rw-r--r-- | spec/unit/python/pypi_spec.rb | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/spec/unit/python/parsers/pipfile_lock_spec.rb b/spec/unit/python/parsers/pipfile_lock_spec.rb index 59fff52..054ff1d 100644 --- a/spec/unit/python/parsers/pipfile_lock_spec.rb +++ b/spec/unit/python/parsers/pipfile_lock_spec.rb @@ -7,7 +7,7 @@ RSpec.describe Spandx::Python::Parsers::PipfileLock do let(:path) { fixture_file('pip/Pipfile.lock') } def build(name, version, path) - Spandx::Core::Dependency.new(name: name, version: version, path: path) + Spandx::Core::Dependency.new(name:, version:, path:) end specify { expect(subject).to match_array([build('six', '1.13.0', path)]) } diff --git a/spec/unit/python/pypi_spec.rb b/spec/unit/python/pypi_spec.rb index a0617bd..cb350fb 100644 --- a/spec/unit/python/pypi_spec.rb +++ b/spec/unit/python/pypi_spec.rb @@ -141,7 +141,7 @@ RSpec.describe Spandx::Python::Pypi do let(:source) { 'pypi.org' } let(:package) { 'six' } let(:version) { '1.13.0' } - let(:successful_response_body) { JSON.generate(info: { name: package, version: version }) } + let(:successful_response_body) { JSON.generate(info: { name: package, version: }) } context 'when the default source is reachable' do before do |
