Skip to content

Commit

Permalink
Added integration test for NodeJS
Browse files Browse the repository at this point in the history
  • Loading branch information
nmaludy committed Dec 14, 2018
1 parent a78ae9d commit d7e9b05
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions test/integration/stackstorm/controls/nodejs_test.rb
@@ -0,0 +1,16 @@
# encoding: utf-8

# The Inspec reference, with examples and extensive documentation, can be
# found at https://docs.chef.io/inspec_reference.html

control 'nodejs' do
title 'Minimal package integrity check'
desc '
Basic check that NodeJS package is installed.
'

describe package('nodejs') do
it { should be_installed }
its('version') { should cmp >= '10.0' }
end
end

0 comments on commit d7e9b05

Please sign in to comment.