Sha256: 0c4f9a2d11810cd3e0f23a5dabcd49f047b579d8ac191323bae420de5e2a8b02

Contents?: true

Size: 559 Bytes

Versions: 6

Compression:

Stored size: 559 Bytes

Contents

require File.expand_path('../helper', __FILE__)

class TestRecipe < TestCase
  def test_path
    recipe = MiniPortile.new("libfoo", "1.0.0")
    assert_equal(File.expand_path(File.join(recipe.target, recipe.host, recipe.name, recipe.version)), recipe.path)
  end

  def test_lib_path
    recipe = MiniPortile.new("libfoo", "1.0.0")
    assert_equal(File.join(recipe.path, "lib"), recipe.lib_path)
  end

  def test_include_path
    recipe = MiniPortile.new("libfoo", "1.0.0")
    assert_equal(File.join(recipe.path, "include"), recipe.include_path)
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
mini_portile2-2.8.8 test/test_recipe.rb
mini_portile2-2.8.7 test/test_recipe.rb
mini_portile2-2.8.7.rc1 test/test_recipe.rb
mini_portile2-2.8.6 test/test_recipe.rb
mini_portile2-2.8.5 test/test_recipe.rb
mini_portile2-2.8.5.rc2 test/test_recipe.rb