Sha256: a7b7c143d298c557e0ee5687d984f9aed567ad7dfe73af3d453373e7c0fe7e9b

Contents?: true

Size: 813 Bytes

Versions: 12

Compression:

Stored size: 813 Bytes

Contents

Given(/^I have an app with license finder that depends on an other licensed gem$/) do
  @user = ::DSL::User.new
  @user.create_nonrails_app
  @user.add_license_finder_to_rakefile
  @user.add_dependency_to_app 'other_gem', version: '1.0', license: 'other'
  @user.add_dependency_to_app 'control_gem', version: '1.0', license: 'other'
end

When(/^I set that gems license to MIT from the command line$/) do
  @user.execute_command 'license_finder --quiet'
  @user.execute_command 'license_finder license MIT other_gem'
  @output = @user.execute_command 'license_finder --quiet'
end

Then(/^I should see that other gems license set to MIT$/) do
  @output.should include 'other_gem, 1.0, MIT'
end

Then(/^I see other licensed gems have not changed licenses$/) do
  @output.should include 'control_gem, 1.0, other'
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
license_finder-0.9.5.1-java features/step_definitions/set_license_steps.rb
license_finder-0.9.5.1 features/step_definitions/set_license_steps.rb
license_finder-0.9.5 features/step_definitions/set_license_steps.rb
license_finder-0.9.5-java features/step_definitions/set_license_steps.rb
license_finder-0.9.4-java features/step_definitions/set_license_steps.rb
license_finder-0.9.4 features/step_definitions/set_license_steps.rb
license_finder-0.9.3-java features/step_definitions/set_license_steps.rb
license_finder-0.9.3 features/step_definitions/set_license_steps.rb
license_finder-0.9.2-java features/step_definitions/set_license_steps.rb
license_finder-0.9.2 features/step_definitions/set_license_steps.rb
license_finder-0.9.1-java features/step_definitions/set_license_steps.rb
license_finder-0.9.1 features/step_definitions/set_license_steps.rb