Sha256: aa6f268b4ea19653c24ccf7b9a9f5b4b53e2271c3c284a40c49dce1af2549ea7
Contents?: true
Size: 594 Bytes
Versions: 92
Compression:
Stored size: 594 Bytes
Contents
#! /usr/bin/env ruby require 'spec_helper' require 'puppet/resource/type_collection_helper' class RTCHelperTester include Puppet::Resource::TypeCollectionHelper end describe Puppet::Resource::TypeCollectionHelper do before do @helper = RTCHelperTester.new end it "should use its current environment to retrieve the known resource type collection" do env = stub 'environment' @helper.expects(:environment).returns env rtc = stub 'known_resource_types' env.expects(:known_resource_types).returns rtc @helper.known_resource_types.should equal(rtc) end end
Version data entries
92 entries across 92 versions & 2 rubygems