Sha256: 719025f0cce8f71b503fc8dbd2b62d1d7435c2ef865c2c174bf5abba20b72787
Contents?: true
Size: 968 Bytes
Versions: 16
Compression:
Stored size: 968 Bytes
Contents
Given(/^I have an app with license finder that depends on a GPL licensed gem in the test bundler group$/) do @user = ::DSL::User.new @user.create_nonrails_app @user.add_dependency_to_app 'gpl_gem', :license => 'GPL', :bundler_groups => 'test' end When(/^I add the test group to the ignored bundler groups$/) do @user.execute_command('license_finder ignored_bundler_group add test') end When(/^I remove the test group from the ignored bundler groups$/) do @user.execute_command('license_finder ignored_bundler_group remove test') end When(/^I get the ignored groups$/) do @output = @user.execute_command('license_finder ignored_bundler_group list') end Then(/^I should not see the GPL licensed gem in the output$/) do @output.should_not include 'gpl_gem' end Then(/^I should see the test group in the output$/) do @output.should include 'test' end Then(/^I should not see the test group in the output$/) do @output.should_not include 'test' end
Version data entries
16 entries across 16 versions & 1 rubygems