summaryrefslogtreecommitdiff
path: root/spec/integration/core
diff options
context:
space:
mode:
authormo khan <mo.khan@gmail.com>2020-03-20 13:27:59 -0600
committermo khan <mo.khan@gmail.com>2020-03-20 13:27:59 -0600
commit972cbaec4194e2bb81ca5fb63d6eb058e04c1157 (patch)
treeb671c08ba3d8ca8723934a7663d50a167ffeb0b7 /spec/integration/core
parent8e5763384ebec77992ba529e910522faff0b7306 (diff)
Check nuget cache for license entries
Diffstat (limited to 'spec/integration/core')
-rw-r--r--spec/integration/core/cache_spec.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/spec/integration/core/cache_spec.rb b/spec/integration/core/cache_spec.rb
index fcfe5dd..6c23f14 100644
--- a/spec/integration/core/cache_spec.rb
+++ b/spec/integration/core/cache_spec.rb
@@ -3,7 +3,7 @@
RSpec.describe Spandx::Core::Cache do
subject { described_class.new(package_manager, url: url) }
- context "rubygems" do
+ context 'rubygems' do
let(:package_manager) { :rubygems }
let(:url) { "https://github.com/mokhan/spandx-#{package_manager}.git" }
@@ -27,9 +27,9 @@ RSpec.describe Spandx::Core::Cache do
end
end
- context "nuget" do
+ context 'nuget' do
let(:package_manager) { :nuget }
- let(:url) { "https://github.com/mokhan/spandx-index.git" }
+ let(:url) { 'https://github.com/mokhan/spandx-index.git' }
describe '#licenses_for' do
(0x00..0xFF).map { |x| x.to_s(16).upcase.rjust(2, '0').downcase }.each do |hex|