Given /^a file called '(.*)'$/ do |virtual_path, content|
  create_file expand(virtual_path), expand(content)
end

Given /^an executable file named "(.*)" with:$/ do |file_path, content|
  steps %Q{
    Given a file named "#{file_path}" with:
      """
      #{content}
      """
  }
  File.chmod(0755, File.join([current_dir, file_path]))
end

Given /^an executable file named "(.*)" with:$/ do |file_path, content|
  steps %Q{
    Given a file named "#{file_path}" with:
      """
      #{content}
      """
  }
  File.chmod(0755, File.join([current_dir, file_path]))
end

Delete a legacy step for files
Delete a legacy step for files
