Sha256: 1093cd9cb93acb2fa67e86d3ed46a415621ff101a9886622365efc3186195f2d
Contents?: true
Size: 1.04 KB
Versions: 1
Compression:
Stored size: 1.04 KB
Contents
Feature: rake license:action_items:ok As a user I want a rake task "license:action_items:ok" that returns 0/1 exit codes based on whether or not there any action items So that I can create a CI build that fails if there are any action items Background: Given I have an application setup with rake and license finder Scenario: Application with action items Given my app depends on a gem "gpl_licensed_gem" licensed with "GPL" And I whitelist the "MIT" license When I run "rake license:action_items:ok" Then it should exit with status code 1 Scenario: Application with no action items Given I whitelist the following licenses: "MIT" When I run "rake license:action_items:ok" Then I should see "All gems are approved for use" in its output And it should exit with status code 0 Scenario: Deprecation for version 1.0 When I run "rake license:action_items:ok" Then I should see "rake license:action_items:ok is deprecated and will be removed in version 1.0. Use rake license:action_items instead." in its output
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
license_finder-0.5.0 | features/rake_tasks/action_items_ok.feature |