Sha256: 6a6ad13d5581493c9b616677909164cd466c41c70e849c7d0503766a3e21e822
Contents?: true
Size: 337 Bytes
Versions: 40
Compression:
Stored size: 337 Bytes
Contents
require 'spec_helper' require 'puppet/util/profiler' describe Puppet::Util::Profiler::WallClock do it "logs the number of seconds it took to execute the segment" do profiler = Puppet::Util::Profiler::WallClock.new(nil, nil) message = profiler.finish(profiler.start) message.should =~ /took \d\.\d{4} seconds/ end end
Version data entries
40 entries across 40 versions & 1 rubygems