Commit 4bdf757
Changed files (1)
spec
integration
rubygems
spec/integration/rubygems/offline_index_spec.rb
@@ -6,7 +6,7 @@ RSpec.describe Spandx::Rubygems::OfflineIndex do
describe '#licenses_for' do
(0x00..0xFF).map { |x| x.to_s(16).upcase.rjust(2, '0').downcase }.each do |hex|
context hex do
- let(:path) { subject.db.expand_path("lib/spandx/rubygems/index/#{hex}/data") }
+ let(:path) { subject.db.expand_path(".index/#{hex}/rubygems") }
it 'is able to find all packages in the index' do
CSV.readlines(path).shuffle.each do |row|