Sha256: 40e0c075d6a14694034d9bd20f21111553ad5dc90fcfc960945094fca3fe3889
Contents?: true
Size: 690 Bytes
Versions: 1
Compression:
Stored size: 690 Bytes
Contents
require 'feature_helper' describe "Manually Assigned Licenses" do # As a developer # I want to be able to override the licenses license_finder finds # So that my dependencies all have the correct licenses let(:user) { LicenseFinder::TestingDSL::User.new } specify "are shown in reports" do project = user.create_ruby_app gem = user.create_gem 'mislicensed_dep', license: 'Unknown' project.depend_on gem user.execute_command 'license_finder licenses add mislicensed_dep Known' user.run_license_finder expect(user).not_to be_seeing_something_like /mislicensed_dep.*Unknown/ expect(user).to be_seeing_something_like /mislicensed_dep.*Known/ end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
license_finder-2.0.0.rc2 | features/features/configure/assign_licenses_spec.rb |