Sha256: 65505f91f93f0810a090c9c20bfdb2f1ec0377e9701628da617c8c52483b7a38

Contents?: true

Size: 1.42 KB

Versions: 3

Compression:

Stored size: 1.42 KB

Contents

$:.unshift(File.expand_path("..", __FILE__))
require "spec_helper"
require "engineyard-recipes/fetch_uri"

describe Engineyard::Recipes::FetchUri do
  # Fetch the target at URI (git url or local folder path)
  #
  # Returns a tuple:
  # * path to a local folder structure that contains "cookbooks/<recipe name>"
  # * recipe_name
  describe "#fetch_recipe" do
  end


  # Vendor/submodule the +uri+ into current git repo at +recipe_vendor_path+
  # If +uri+ is a local folder, then copy folder to +recipe_vendor_path+
  # If +uri+ is a remote git repo, then submodule to +recipe_vendor_path+
  describe "#vendor_recipe_into_recipe" do
  end
  
  
  # Takes a folder that is either a cookbooks/<recipes> structure, or
  # assumed to be a singular <recipe>/
  # Copies it into +store_path+ and resulting folder
  # guaranteed to be in cookbooks/<recipes> structure
  #
  # For example, if the +path+ is:
  #  path/
  #    ey-dnapi/
  #      libraries/
  #        engineyard.rb
  # 
  # Then the resulting +store_path+ will be:
  #   tmpdir/
  #     cookbooks/
  #       ey-dnapi/
  #         libraries/
  #           engineyard.rb
  #
  # If +path+/cookbooks exists, then +store_path+
  # will be a duplicate of +path+
  #
  # Can override the +<recipe>+ name with +recipe_name+
  #
  # Returns a tuple:
  # * path to a local folder structure that contains "cookbooks/<recipe name>"
  # * recipe_name
  describe "#normalize_fetched_project" do
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
engineyard-recipes-0.5.0 spec/fetch_uri_spec.rb
engineyard-recipes-0.4.0 spec/fetch_uri_spec.rb
engineyard-recipes-0.3.2 spec/fetch_uri_spec.rb