spec/vendored_license_spec.rb in licensee-9.12.0 vs spec/vendored_license_spec.rb in licensee-9.13.0
- old
+ new
@@ -29,11 +29,11 @@
it 'confidence and similarity scores are euqal' do
expect(license_file.confidence).to eq(license.similarity(license_file))
end
it 'has a cached content hash' do
- expect(expected_hash).to_not be_nil, hash_change_msg
+ expect(expected_hash).not_to be_nil, hash_change_msg
end
it 'matches the expected content hash' do
expect(license.content_hash).to eql(expected_hash), hash_change_msg
end
@@ -79,20 +79,20 @@
context 'with random words added' do
let(:content) { content_with_random_words }
it 'does not match the license' do
- expect(content).to_not be_detected_as(license)
+ expect(content).not_to be_detected_as(license)
end
end
context 'when rewrapped with random words added' do
let(:content) do
Licensee::ContentHelper.wrap(content_with_random_words, line_length)
end
it 'does not match the license' do
- expect(content).to_not be_detected_as(license)
+ expect(content).not_to be_detected_as(license)
end
end
end
end
end