Sha256: f9813d16d3a0b0875fc70116e50eeaabe697140c7d3df516613d82a91a77a4f3

Contents?: true

Size: 597 Bytes

Versions: 2

Compression:

Stored size: 597 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', :license => 'other'
end

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

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

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
license_finder-0.8.1-java features/step_definitions/set_license_steps.rb
license_finder-0.8.1 features/step_definitions/set_license_steps.rb