1
0
mirror of https://github.com/github/choosealicense.com synced 2024-12-22 21:00:10 +01:00
choosealicense.com/spec/self_license_spec.rb

12 lines
222 B
Ruby
Raw Normal View History

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