Sha256: 4abb9d63bd1ce81fccbc010465c4b013b464c0d626aed03a4f95c4820f86eaff

Contents?: true

Size: 611 Bytes

Versions: 2

Compression:

Stored size: 611 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 --quiet'
  @output = @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'
end

Version data entries

2 entries across 2 versions & 1 rubygems

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