Sha256: 8d8f9b7b45a49f98cd6989797617ab4b282d11c6e04dd190edc5ff085734f22f

Contents?: true

Size: 310 Bytes

Versions: 6

Compression:

Stored size: 310 Bytes

Contents

# encoding: utf-8
val_user = attribute('user', default: 'alice', description: 'An identification for the user')
val_password = attribute('password', description: 'A value for the password')

describe val_user do
  it { should eq 'bob' }
end

describe val_password do
  it { should eq 'secret' }
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
inspec-2.1.81 examples/profile-attribute/controls/example.rb
inspec-2.1.21 examples/profile-attribute/controls/example.rb
inspec-2.1.10 examples/profile-attribute/controls/example.rb
inspec-2.0.32 examples/profile-attribute/controls/example.rb
inspec-2.0.17 examples/profile-attribute/controls/example.rb
inspec-1.51.15 examples/profile-attribute/controls/example.rb