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

11 lines
279 B
Ruby
Raw Normal View History

val_user = attribute('user', value: 'alice', description: 'An identification for the user')
2016-05-07 18:17:09 +00:00
val_password = attribute('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