<commit_before>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<commit_msg>Improve set_license_steps to check for license<commit_after>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'
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
{'fraction_non_alphanumeric': 0.10534351145038168, 'fraction_numerical': 0.0030534351145038168, 'mean_word_length': 4.986301369863014, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 4, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2971221', 'n_tokens_mistral': 437, 'n_tokens_neox': 418, 'n_words': 138}