mirror of
https://github.com/inspec/inspec
synced 2024-11-10 07:04:15 +00:00
Sketch of functional test
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
This commit is contained in:
parent
d41dc48afa
commit
e3857a8783
1 changed files with 28 additions and 0 deletions
28
test/functional/license_test.rb
Normal file
28
test/functional/license_test.rb
Normal file
|
@ -0,0 +1,28 @@
|
|||
require 'functional/helper'
|
||||
|
||||
# File.join(ENV['HOME'], '.chef', 'accepted_licenses')
|
||||
|
||||
describe 'The license acceptance mechanism' do
|
||||
describe 'when the license has not been accepted' do
|
||||
|
||||
describe 'when the user passes the --accept-license flag' do
|
||||
end
|
||||
|
||||
describe 'when the user answers yes to the challenge' do
|
||||
end
|
||||
|
||||
describe 'when the user answers no to the challenge' do
|
||||
end
|
||||
|
||||
describe 'when a command is used that should not be gated on licensure' do
|
||||
end
|
||||
|
||||
end
|
||||
|
||||
describe 'when the license has already been accepted' do
|
||||
describe 'when the license was accepted by touching a blank file' do
|
||||
end
|
||||
|
||||
describe 'when the license persistance file is a YAML file' do
|
||||
end
|
||||
end
|
Loading…
Reference in a new issue