Sha256: 33cf6811693ccc2d33066bbd52acd7f022836ea69d904cfef727241f55fce9ac

Contents?: true

Size: 334 Bytes

Versions: 270

Compression:

Stored size: 334 Bytes

Contents

require 'spec_helper'
require 'puppet/util/profiler'

describe Puppet::Util::Profiler::ObjectCounts do
  it "reports the changes in the system object counts" do
    profiler = Puppet::Util::Profiler::ObjectCounts.new(nil, nil)

    message = profiler.finish(profiler.start)

    expect(message).to match(/ T_STRING: \d+, /)
  end
end

Version data entries

270 entries across 270 versions & 1 rubygems

Version Path
puppet-5.5.10 spec/unit/util/profiler/object_counts_spec.rb
puppet-5.5.10-x86-mingw32 spec/unit/util/profiler/object_counts_spec.rb
puppet-5.5.10-x64-mingw32 spec/unit/util/profiler/object_counts_spec.rb
puppet-5.5.10-universal-darwin spec/unit/util/profiler/object_counts_spec.rb
puppet-5.5.8 spec/unit/util/profiler/object_counts_spec.rb
puppet-5.5.8-x86-mingw32 spec/unit/util/profiler/object_counts_spec.rb
puppet-5.5.8-x64-mingw32 spec/unit/util/profiler/object_counts_spec.rb
puppet-5.5.8-universal-darwin spec/unit/util/profiler/object_counts_spec.rb
puppet-5.5.7 spec/unit/util/profiler/object_counts_spec.rb
puppet-5.5.7-x86-mingw32 spec/unit/util/profiler/object_counts_spec.rb
puppet-5.5.7-x64-mingw32 spec/unit/util/profiler/object_counts_spec.rb
puppet-5.5.7-universal-darwin spec/unit/util/profiler/object_counts_spec.rb
puppet-5.5.6 spec/unit/util/profiler/object_counts_spec.rb
puppet-5.5.6-x86-mingw32 spec/unit/util/profiler/object_counts_spec.rb
puppet-5.5.6-x64-mingw32 spec/unit/util/profiler/object_counts_spec.rb
puppet-5.5.6-universal-darwin spec/unit/util/profiler/object_counts_spec.rb
puppet-5.5.3 spec/unit/util/profiler/object_counts_spec.rb
puppet-5.5.3-x86-mingw32 spec/unit/util/profiler/object_counts_spec.rb
puppet-5.5.3-x64-mingw32 spec/unit/util/profiler/object_counts_spec.rb
puppet-5.5.3-universal-darwin spec/unit/util/profiler/object_counts_spec.rb