File tree Expand file tree Collapse file tree
spec/octocatalog-diff/tests/util Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3636 }
3737 obj = described_class . new ( opts )
3838 expect ( obj . script ) . to eq ( __FILE__ )
39+ expect ( @logger_str . string ) . to match ( /Selecting.+scriptrunner_spec.rb from override script path/ )
3940 end
4041
4142 it 'should use default script when override is not found' do
4849 obj = described_class . new ( opts )
4950 answer = File . expand_path ( '../../../../scripts/git-extract/git-extract.sh' , File . dirname ( __FILE__ ) )
5051 expect ( obj . script ) . to eq ( answer )
52+ expect ( @logger_str . string ) . to match ( /Did not find.+git-extract.sh in override script path/ )
5153 end
5254
5355 it 'should use default script when override is not provided' do
5961 obj = described_class . new ( opts )
6062 answer = File . expand_path ( '../../../../scripts/git-extract/git-extract.sh' , File . dirname ( __FILE__ ) )
6163 expect ( obj . script ) . to eq ( answer )
64+ expect ( @logger_str . string ) . to eq ( '' )
6265 end
6366 end
6467end
You can’t perform that action at this time.
0 commit comments