File tree Expand file tree Collapse file tree 2 files changed +6
-8
lines changed Expand file tree Collapse file tree 2 files changed +6
-8
lines changed Original file line number Diff line number Diff line change 44
55RSpec . configure do |c |
66 c . module_path = File . join ( fixture_path , 'modules' )
7- c . manifest_dir = File . join ( fixture_path , 'manifests' )
87 c . manifest = File . join ( fixture_path , 'manifests' , 'site.pp' )
98 c . environmentpath = File . join ( Dir . pwd , 'spec' )
109end
Original file line number Diff line number Diff line change 1010 end
1111 let ( :node ) { 'test123.test.com' }
1212
13- it { is_expected . to contain_class ( 'server_facts' ) }
14- it { is_expected . to compile . with_all_deps }
15- it { is_expected . to contain_notify ( 'servername-test123.test.com' ) }
16- it { is_expected . to contain_notify ( 'serverip-192.168.1.10' ) }
17- it { is_expected . to contain_notify ( "serverversion-#{ Puppet . version } " ) }
18- it { is_expected . to contain_notify ( 'environment-rp_env' ) }
19- end
13+ it { is_expected . to contain_class ( 'server_facts' ) }
14+ it { is_expected . to compile . with_all_deps }
15+ it { is_expected . to contain_notify ( 'servername-test123.test.com' ) }
16+ it { is_expected . to contain_notify ( 'serverip-192.168.1.10' ) }
17+ it { is_expected . to contain_notify ( "serverversion-#{ Puppet . version } " ) }
18+ it { is_expected . to contain_notify ( 'environment-rp_env' ) }
2019end
You can’t perform that action at this time.
0 commit comments