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.22 spec/unit/util/profiler/object_counts_spec.rb
puppet-5.5.22-x86-mingw32 spec/unit/util/profiler/object_counts_spec.rb
puppet-5.5.22-x64-mingw32 spec/unit/util/profiler/object_counts_spec.rb
puppet-5.5.22-universal-darwin spec/unit/util/profiler/object_counts_spec.rb
puppet-5.5.21 spec/unit/util/profiler/object_counts_spec.rb
puppet-5.5.21-x86-mingw32 spec/unit/util/profiler/object_counts_spec.rb
puppet-5.5.21-x64-mingw32 spec/unit/util/profiler/object_counts_spec.rb
puppet-5.5.21-universal-darwin spec/unit/util/profiler/object_counts_spec.rb
puppet-5.5.20 spec/unit/util/profiler/object_counts_spec.rb
puppet-5.5.20-x86-mingw32 spec/unit/util/profiler/object_counts_spec.rb
puppet-5.5.20-x64-mingw32 spec/unit/util/profiler/object_counts_spec.rb
puppet-5.5.20-universal-darwin spec/unit/util/profiler/object_counts_spec.rb
puppet-5.5.19 spec/unit/util/profiler/object_counts_spec.rb
puppet-5.5.19-x86-mingw32 spec/unit/util/profiler/object_counts_spec.rb
puppet-5.5.19-x64-mingw32 spec/unit/util/profiler/object_counts_spec.rb
puppet-5.5.19-universal-darwin spec/unit/util/profiler/object_counts_spec.rb
puppet-5.5.18 spec/unit/util/profiler/object_counts_spec.rb
puppet-5.5.18-x86-mingw32 spec/unit/util/profiler/object_counts_spec.rb
puppet-5.5.18-x64-mingw32 spec/unit/util/profiler/object_counts_spec.rb
puppet-5.5.18-universal-darwin spec/unit/util/profiler/object_counts_spec.rb