Sha256: bd1c7e26e1b2f9a8af892c12f05eb13e3ee1f49e6b750cb68ed261cd1d0e6d82

Contents?: true

Size: 583 Bytes

Versions: 26

Compression:

Stored size: 583 Bytes

Contents

require "#{File.dirname(__FILE__)}/../../../../test_helper"

include_fixture_resources
include_chef_only_resources

class ChefRecipeTest < Test::Unit::TestCase
  context "Base" do
    setup do
      PoolParty::Resource.define_resource_methods
      @res = PoolParty::Resources::ChefRecipe.new fixtures_dir/"chef"/"recipes"/"sudo"
      @base = DependencyResolvers::Chef
      @base.compile_directory = test_dir
    end
    
    should "have the method denoted by has_method_name for http_request" do
      assert_equal "recipe \"sudo\"", @base.compile(@res)
    end
    
  end
  
end

Version data entries

26 entries across 26 versions & 3 rubygems

Version Path
auser-poolparty-1.3.10 test/lib/dependency_resolvers/chef/resources/chef_recipe_test.rb
auser-poolparty-1.3.11 test/lib/dependency_resolvers/chef/resources/chef_recipe_test.rb
auser-poolparty-1.3.12 test/lib/dependency_resolvers/chef/resources/chef_recipe_test.rb
auser-poolparty-1.3.13 test/lib/dependency_resolvers/chef/resources/chef_recipe_test.rb
auser-poolparty-1.3.14 test/lib/dependency_resolvers/chef/resources/chef_recipe_test.rb
auser-poolparty-1.3.15 test/lib/dependency_resolvers/chef/resources/chef_recipe_test.rb
auser-poolparty-1.3.16 test/lib/dependency_resolvers/chef/resources/chef_recipe_test.rb
auser-poolparty-1.3.17 test/lib/dependency_resolvers/chef/resources/chef_recipe_test.rb
auser-poolparty-1.3.2 test/lib/dependency_resolvers/chef/resources/chef_recipe_test.rb
auser-poolparty-1.3.3 test/lib/dependency_resolvers/chef/resources/chef_recipe_test.rb
auser-poolparty-1.3.4 test/lib/dependency_resolvers/chef/resources/chef_recipe_test.rb
auser-poolparty-1.3.5 test/lib/dependency_resolvers/chef/resources/chef_recipe_test.rb
auser-poolparty-1.3.6 test/lib/dependency_resolvers/chef/resources/chef_recipe_test.rb
auser-poolparty-1.3.7 test/lib/dependency_resolvers/chef/resources/chef_recipe_test.rb
auser-poolparty-1.3.8 test/lib/dependency_resolvers/chef/resources/chef_recipe_test.rb
fairchild-poolparty-1.3.17 test/lib/dependency_resolvers/chef/resources/chef_recipe_test.rb
fairchild-poolparty-1.3.5 test/lib/dependency_resolvers/chef/resources/chef_recipe_test.rb
poolparty-1.3.15 test/lib/dependency_resolvers/chef/resources/chef_recipe_test.rb
poolparty-1.3.14 test/lib/dependency_resolvers/chef/resources/chef_recipe_test.rb
poolparty-1.3.13 test/lib/dependency_resolvers/chef/resources/chef_recipe_test.rb