Sha256: e972148087c6ca8392e9912018e5c5f13ce44397c297d9615308342cf04962f5
Contents?: true
Size: 621 Bytes
Versions: 28
Compression:
Stored size: 621 Bytes
Contents
require "#{File.dirname(__FILE__)}/../../../test_helper" include_fixture_resources class LinkResourceTest < Test::Unit::TestCase context "Base" do setup do PoolParty::Resource.define_resource_methods @res = PoolParty::Resources::Link.new "/tmp/passwd", :to => "/etc/passwd" @base = DependencyResolvers::Chef @base.compile_directory = test_dir end should "have the link method denoted by has_method_name" do str = 'link "/tmp/passwd" do link_type :symbolic action :create to "/etc/passwd" end ' assert_equal str, @base.compile(@res) end end end
Version data entries
28 entries across 28 versions & 3 rubygems