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

12 lines
299 B
Ruby
Raw Normal View History

2016-05-07 11:04:22 +00:00
# encoding: utf-8
2016-05-07 18:17:09 +00:00
val_user = attribute('user', default: 'alice', description: 'An identification for the user')
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