Commit 4bdf757

mo khan <mo.khan@gmail.com>
2020-03-16 23:28:21
Fix path to index files in spec tag: v0.10.1
1 parent a15bdd9
Changed files (1)
spec
integration
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|