1
0
mirror of https://github.com/github/choosealicense.com synced 2024-11-13 06:58:53 +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-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