File tree Expand file tree Collapse file tree 2 files changed +26
-1
lines changed
Expand file tree Collapse file tree 2 files changed +26
-1
lines changed Original file line number Diff line number Diff line change 44 let ( :chef_run ) { ChefSpec ::SoloRunner . converge ( described_recipe ) }
55
66 it 'includes the threatstack::repo recipe' do
7- expect ( chef_run ) . to include_recipe ( "threatstack::repo" )
7+ expect ( chef_run ) . to include_recipe ( 'threatstack::repo' )
8+ end
9+
10+ it 'installs the threatstack-agent package' do
11+ expect ( chef_run ) . to install_package ( 'threatstack-agent' )
12+ end
13+
14+ it 'executes the cloudsight setup' do
15+ expect ( chef_rum ) . to run_execute ( 'cloudsight setup' )
816 end
917end
Original file line number Diff line number Diff line change 1+ require 'spec_helper'
2+
3+ describe 'threatstack::default' do
4+ let ( :chef_run ) { ChefSpec ::SoloRunner . converge ( described_recipe ) }
5+
6+ it 'includes the threatstack::repo recipe' do
7+ expect ( chef_run ) . to include_recipe ( 'threatstack::repo' )
8+ end
9+
10+ it 'installs the threatstack-agent package' do
11+ expect ( chef_run ) . to install_package ( 'threatstack-agent' )
12+ end
13+
14+ it 'executes the cloudsight setup' do
15+ expect ( chef_rum ) . to run_execute ( 'cloudsight setup' )
16+ end
17+ end
You can’t perform that action at this time.
0 commit comments