mirror of
https://github.com/github/choosealicense.com
synced 2024-07-05 17:59:37 +02:00
12 lines
223 B
Ruby
12 lines
223 B
Ruby
# frozen_string_literal: true
|
|
|
|
require 'spec_helper'
|
|
|
|
context 'licensee detects this project' do
|
|
let(:detected) { Licensee::project('.').license }
|
|
|
|
it "license as MIT" do
|
|
expect(detected.key).to eq('mit')
|
|
end
|
|
end
|