Sha256: 1fe5d74514ee4ea3f193b1d9d29aced0b2809f3681cbf93d8d2fd30efd4b82e0
Contents?: true
Size: 1.25 KB
Versions: 16
Compression:
Stored size: 1.25 KB
Contents
require_relative '../../support/feature_helper' describe "Ignored Dependencies" do # As a developer # I want to ignore certain dependencies # To avoid frequently changing reports about dependencies I know will always be approved let(:developer) { LicenseFinder::TestingDSL::User.new } before do developer.create_empty_project developer.execute_command 'license_finder dependencies add ignored_dep Whatever' end specify "are excluded from reports" do developer.execute_command 'license_finder ignored_dependencies add ignored_dep' developer.run_license_finder expect(developer).to_not be_seeing 'ignored_dep' developer.execute_command('license_finder report') expect(developer).to_not be_seeing 'ignored_dep' end specify "appear in the CLI" do developer.execute_command 'license_finder ignored_dependencies add ignored_dep' expect(developer).to be_seeing 'ignored_dep' developer.execute_command 'license_finder ignored_dependencies list' expect(developer).to be_seeing 'ignored_dep' developer.execute_command 'license_finder ignored_dependencies remove ignored_dep' developer.execute_command 'license_finder ignored_dependencies list' expect(developer).to_not be_seeing 'ignored_dep' end end
Version data entries
16 entries across 16 versions & 1 rubygems