Initial release
This commit is contained in:
15
test/integration/default/default_test.rb
Normal file
15
test/integration/default/default_test.rb
Normal file
@@ -0,0 +1,15 @@
|
||||
# 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 1\.44\.1/ }
|
||||
its('stderr') { should eq '' }
|
||||
its('exit_status') { should eq 0 }
|
||||
end
|
||||
Reference in New Issue
Block a user