spec/fixture_spec.rb in licensee-9.15.3 vs spec/fixture_spec.rb in licensee-9.16.0

- old
+ new

@@ -31,10 +31,10 @@ expect(subject.license).to eql(expected) end it 'returns the expected hash' do - hash = license_file ? license_file.content_hash : nil + hash = license_file&.content_hash expect(hash).to eql(expectations['hash']) end it 'uses the expected matcher' do expected = matcher ? matcher.name.to_s : nil