inspec/examples/profile-attribute/controls/example.rb

11 lines
271 B
Ruby
Raw Normal View History

val_user = input('user', value: 'alice', description: 'An identification for the user')
val_password = input('password', description: 'A value for the password')
2016-05-07 11:04:22 +00:00
2016-05-07 18:17:09 +00:00
describe val_user do
2016-05-07 11:04:22 +00:00
it { should eq 'bob' }
end
2016-05-07 18:17:09 +00:00
describe val_password do
2016-05-07 11:04:22 +00:00
it { should eq 'secret' }
end