inspec/examples/custom-resource/libraries/example.rb
Miah Johnson a40ec993e8 Rename files to remove references to gordon
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-10-16 10:13:24 -07:00

18 lines
269 B
Ruby

class Example < Inspec.resource(1)
name "example"
example "
describe example do
its('crime_rate') { should be < 2 }
it { should have_a_fabulous_mustache }
end
"
def crime_rate
1
end
def has_a_fabulous_mustache?
true
end
end