mirror of
https://github.com/inspec/inspec
synced 2024-12-26 21:13:25 +00:00
16 lines
243 B
Ruby
16 lines
243 B
Ruby
|
class ExampleConfig < Inspec.resource(1)
|
||
|
name 'example_config'
|
||
|
|
||
|
desc "Example's resource description ..."
|
||
|
|
||
|
example "
|
||
|
describe example_config do
|
||
|
its('version') { should eq('1.0') }
|
||
|
end
|
||
|
"
|
||
|
|
||
|
def version
|
||
|
"1.0"
|
||
|
end
|
||
|
end
|