summaryrefslogtreecommitdiff
path: root/spec/integration/core
diff options
context:
space:
mode:
authormo khan <mo.khan@gmail.com>2020-05-15 09:52:32 -0600
committermo khan <mo.khan@gmail.com>2020-05-15 09:52:32 -0600
commitcdd4d22c335e6fa1bc8b5155e9104d40ab349753 (patch)
tree5df2637e08b154ffe7a84c26c15a1f9765b0fe93 /spec/integration/core
parent7c75bfce48ed6d84bce3cfbbc4644485af02d4f5 (diff)
Tidy up code enough so that it can be used to rebuild the index files
Diffstat (limited to 'spec/integration/core')
-rw-r--r--spec/integration/core/cache_spec.rb2
1 files changed, 0 insertions, 2 deletions
diff --git a/spec/integration/core/cache_spec.rb b/spec/integration/core/cache_spec.rb
index ced4604..a021418 100644
--- a/spec/integration/core/cache_spec.rb
+++ b/spec/integration/core/cache_spec.rb
@@ -116,7 +116,6 @@ RSpec.describe Spandx::Core::Cache do
expect(lines).to eql(lines.sort)
end
- # rubocop:disable RSpec/MultipleExpectations
it 'builds an index that contains the seek position for the start of each line' do
data_file = subject.datafile_for('spandx')
data_file.open_file do |io|
@@ -128,7 +127,6 @@ RSpec.describe Spandx::Core::Cache do
end
end
end
- # rubocop:enable RSpec/MultipleExpectations
specify { expect(subject.licenses_for('bolt', '0.2.0')).to match_array(['Apache-2.0']) }
specify { expect(subject.licenses_for('spandx', '0.0.0')).to match_array(['MIT']) }