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.2 spec/unit/util/profiler/object_counts_spec.rb
puppet-5.5.2-x86-mingw32 spec/unit/util/profiler/object_counts_spec.rb
puppet-5.5.2-x64-mingw32 spec/unit/util/profiler/object_counts_spec.rb
puppet-5.5.2-universal-darwin spec/unit/util/profiler/object_counts_spec.rb
puppet-5.3.7 spec/unit/util/profiler/object_counts_spec.rb
puppet-5.3.7-x86-mingw32 spec/unit/util/profiler/object_counts_spec.rb
puppet-5.3.7-x64-mingw32 spec/unit/util/profiler/object_counts_spec.rb
puppet-5.3.7-universal-darwin spec/unit/util/profiler/object_counts_spec.rb
puppet-4.10.12 spec/unit/util/profiler/object_counts_spec.rb
puppet-4.10.12-x86-mingw32 spec/unit/util/profiler/object_counts_spec.rb
puppet-4.10.12-x64-mingw32 spec/unit/util/profiler/object_counts_spec.rb
puppet-4.10.12-universal-darwin spec/unit/util/profiler/object_counts_spec.rb
puppet-5.5.1 spec/unit/util/profiler/object_counts_spec.rb
puppet-5.5.1-x86-mingw32 spec/unit/util/profiler/object_counts_spec.rb
puppet-5.5.1-x64-mingw32 spec/unit/util/profiler/object_counts_spec.rb
puppet-5.5.1-universal-darwin spec/unit/util/profiler/object_counts_spec.rb
puppet-4.10.11 spec/unit/util/profiler/object_counts_spec.rb
puppet-4.10.11-x86-mingw32 spec/unit/util/profiler/object_counts_spec.rb
puppet-4.10.11-x64-mingw32 spec/unit/util/profiler/object_counts_spec.rb
puppet-4.10.11-universal-darwin spec/unit/util/profiler/object_counts_spec.rb