features/features/report/composite_spec.rb in license_finder-2.1.0.rc4 vs features/features/report/composite_spec.rb in license_finder-2.1.0.rc5

- old
+ new

@@ -10,6 +10,19 @@ specify 'shows dependencies for all active projects' do LicenseFinder::TestingDSL::CompositeProject.create developer.execute_command('license_finder report --recursive') expect(developer).to be_seeing('junit,4.11,Common Public License Version 1.0') end + + specify 'shows csv report columns in the right order' do + LicenseFinder::TestingDSL::CompositeProject.create + developer.execute_command('license_finder report --recursive --format csv --columns name version install_path licenses') + expect(developer).to be_seeing('junit,4.11,,Common Public License Version 1.0') + end + + specify 'shows install path column when scanning recursively' do + project = LicenseFinder::TestingDSL::BundlerProject.create + project.install + developer.execute_command('license_finder report --recursive --format csv --columns name version install_path licenses') + expect(developer).to be_seeing_something_like(/multi_xml,0.\d+.\d+,.*\/gems\/multi_xml-0.\d+.\d+,MIT/) + end end