Sha256: fd2be088eb30a6ead8a37aedbae05adf2ee27c80d7fe69066f6202b38788e68b
Contents?: true
Size: 484 Bytes
Versions: 9
Compression:
Stored size: 484 Bytes
Contents
RSpec.describe Licensee::Matchers::Cran do let(:mit) { Licensee::License.find('mit') } let(:content) { "Package: test\nLicense: MIT + file LICENSE" } let(:file) { Licensee::Project::LicenseFile.new(content, 'project.gemspec') } subject { described_class.new(file) } it 'stores the file' do expect(subject.file).to eql(file) end it 'matches' do expect(subject.match).to eql(mit) end it 'is confident' do expect(subject.confidence).to eql(90) end end
Version data entries
9 entries across 9 versions & 1 rubygems