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