Sha256: 45d83028084726e5d1c891ec873f2aaa1fd196481dab6da0e5f4e7dbd46e4951
Contents?: true
Size: 315 Bytes
Versions: 40
Compression:
Stored size: 315 Bytes
Contents
require 'spec_helper' require 'puppet/util/profiler' describe Puppet::Util::Profiler::None do let(:profiler) { Puppet::Util::Profiler::None.new } it "returns the value of the profiled block" do retval = profiler.profile("Testing") { "the return value" } retval.should == "the return value" end end
Version data entries
40 entries across 40 versions & 1 rubygems