16 lines
430 B
Ruby
16 lines
430 B
Ruby
# Chef InSpec test for recipe deno::default
|
|
|
|
# The Chef InSpec reference, with examples and extensive documentation, can be
|
|
# found at https://docs.chef.io/inspec/resources/
|
|
|
|
describe file('/usr/local/bin/deno') do
|
|
it { should exist }
|
|
its('mode') { should cmp '00755' }
|
|
end
|
|
|
|
describe bash('deno -v') do
|
|
its('stdout') { should match /deno 2\.2\.10/ }
|
|
its('stderr') { should eq '' }
|
|
its('exit_status') { should eq 0 }
|
|
end
|