1
Given /^that I have the (.+) package system installed$/ do |package_system|
2
unless package_system_available?(package_system)
3
pending "This Cucumber feature will not execute, as it is missing the #{package_system} packaging system."
7
Then /^there should be a binary on the path called '(.+)'$/ do |binary_name|
9
result = `which #{binary_name}`
10
result.should_not =~ /not found/
13
Then /^there should not be a binary on the path called '(.+)'$/ do |binary_name|
15
result = `which #{binary_name}`.strip
18
result.should =~ /not found/