1
0
mirror of https://github.com/github/choosealicense.com synced 2024-06-09 12:47:49 +02:00
choosealicense.com/spec/self_license_spec.rb

12 lines
222 B
Ruby
Raw Permalink Normal View History

# frozen_string_literal: true
require 'spec_helper'
context 'licensee detects this project' do
2017-12-31 00:48:07 +01:00
let(:detected) { Licensee.project('.').license }
2017-12-31 00:48:07 +01:00
it 'license as MIT' do
expect(detected.key).to eq('mit')
end
end