Sha256: 7f62c6aacb053601ec496ee50322fa783b16c997a9be23863f34c62a78d567c8
Contents?: true
Size: 563 Bytes
Versions: 28
Compression:
Stored size: 563 Bytes
Contents
require "#{File.dirname(__FILE__)}/../../../test_helper" include_fixture_resources class GroupResourceTest < Test::Unit::TestCase context "Base" do setup do PoolParty::Resource.define_resource_methods @res = PoolParty::Resources::Group.new "moderators" @base = DependencyResolvers::Chef @base.compile_directory = test_dir end should "have the group method denoted by has_method_name" do str = "group \"moderators\" do\n action :create\nend" assert_equal str, @base.compile(@res) end end end
Version data entries
28 entries across 28 versions & 3 rubygems