Created
November 1, 2017 20:36
-
-
Save ssplatt/1fcc153b43ce29a74ce9afd43be16e4f to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
context 'create npm resources' do | |
let(:facts) do | |
facts | |
end | |
let('nodejs::npm') do | |
{ | |
'myapp' => { | |
'ensure' => "present", | |
'target' => "/var/www/apps/myapp", | |
'use_package_json' => true | |
} | |
} | |
end | |
it { is_expected.to contain_nodejs__npm('myapp')} | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment