Sha256: 5e928817149ecd062f07e9b0f4a4d3b13edc1a1925c7f71bdd19c8df7641c825

Contents?: true

Size: 483 Bytes

Versions: 2

Compression:

Stored size: 483 Bytes

Contents

Given(/^I have an app that depends on BSD and GPL-2 licenses$/) do
  @user = ::DSL::User.new
  @user.create_ruby_app
  @user.create_and_depend_on_gem 'bsd_and_gpl2_gem', licenses: %w(BSD GPL-2)
end

When(/^I whitelist the GPL-2 license$/) do
  @user.execute_command 'license_finder whitelist add GPL-2'
end

Then(/^I should not see a BSD and GPL-2 licensed gem unapproved$/) do
  @user.execute_command 'license_finder --quiet'
  expect(@user).to_not be_seeing 'bsd_and_gpl2_gem'
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
license_finder-1.2 features/step_definitions/multiple_licenses_steps.rb
license_finder-1.2-java features/step_definitions/multiple_licenses_steps.rb