Sha256: 4c9f9f286bce6ae3aedcd8efaa09fc61d6547c7de7f60bd696d6cf4a6f176356

Contents?: true

Size: 936 Bytes

Versions: 1

Compression:

Stored size: 936 Bytes

Contents

Feature: rake license:init
  As a user
  I want a rake task the generates a sample license finder configuration for me
  So that I can easily get started using License Finder

  Scenario: No license finder configuration
    Given I have a rails application with license finder
    When I run "rake license:init"
    Then license finder should generate a file "config/license_finder.yml" with the following content:
      """
        ---
        whitelist:
        #- MIT
        #- Apache 2.0
        ignore_groups:
        #- test
        #- development
        dependencies_file_dir: './'
      """

  Scenario: The project including LicenseFinder does not already have a config directory
    Given I have an application with license finder
    And my application's rake file requires license finder
    And my application does not have a config directory
    When I run "rake license:init"
    Then the config directory should exist

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
license_finder-0.5.0 features/rake_tasks/init.feature