File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 261261 it 'should raise exception due to missing symlink request' do
262262 expect ( @result . exitcode ) . to eq ( -1 ) , OctocatalogDiff ::Integration . format_exception ( @result )
263263 expect ( @result . exception ) . to be_a_kind_of ( Errno ::ENOENT )
264- expect ( @result . exception . message ) . to match ( %r{Catalog for 'from' \( origin/master\) failed.+ Errno::ENOENT} )
265264 expect ( @result . exception . message ) . to match ( %r{Specified directory .+/preserve-environments/fluffy doesn't exist} )
266265 end
267266 end
Original file line number Diff line number Diff line change @@ -182,7 +182,7 @@ def catalog_from_fixture(path)
182182 # Perform test
183183 expect do
184184 OctocatalogDiff ::CatalogUtil ::FileResources . convert_file_resources ( obj )
185- end . to raise_error ( Errno :: ENOENT , %r{Unable to resolve 'puppet:///modules/this/does/not/exist'} )
185+ end . to raise_error ( OctocatalogDiff :: Errors :: CatalogError , %r{Unable to resolve 'puppet:///modules/this/does/not/exist'} )
186186 end
187187
188188 it 'should return original if compilation_dir is not a string' do
You can’t perform that action at this time.
0 commit comments