Sketch of functional test

Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
This commit is contained in:
Clinton Wolfe 2019-02-04 17:19:05 -05:00
parent d41dc48afa
commit e3857a8783

View 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