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.17-x86-mingw32 spec/unit/util/profiler/object_counts_spec.rb
puppet-5.5.17 spec/unit/util/profiler/object_counts_spec.rb
puppet-5.5.17-x64-mingw32 spec/unit/util/profiler/object_counts_spec.rb
puppet-5.5.17-universal-darwin spec/unit/util/profiler/object_counts_spec.rb
puppet-5.5.16 spec/unit/util/profiler/object_counts_spec.rb
puppet-5.5.16-x86-mingw32 spec/unit/util/profiler/object_counts_spec.rb
puppet-5.5.16-x64-mingw32 spec/unit/util/profiler/object_counts_spec.rb
puppet-5.5.16-universal-darwin spec/unit/util/profiler/object_counts_spec.rb
puppet-5.5.14 spec/unit/util/profiler/object_counts_spec.rb
puppet-5.5.14-x86-mingw32 spec/unit/util/profiler/object_counts_spec.rb
puppet-5.5.14-x64-mingw32 spec/unit/util/profiler/object_counts_spec.rb
puppet-5.5.14-universal-darwin spec/unit/util/profiler/object_counts_spec.rb
puppet-5.5.13 spec/unit/util/profiler/object_counts_spec.rb
puppet-5.5.13-x86-mingw32 spec/unit/util/profiler/object_counts_spec.rb
puppet-5.5.13-x64-mingw32 spec/unit/util/profiler/object_counts_spec.rb
puppet-5.5.13-universal-darwin spec/unit/util/profiler/object_counts_spec.rb
puppet-5.5.12 spec/unit/util/profiler/object_counts_spec.rb
puppet-5.5.12-x86-mingw32 spec/unit/util/profiler/object_counts_spec.rb
puppet-5.5.12-x64-mingw32 spec/unit/util/profiler/object_counts_spec.rb
puppet-5.5.12-universal-darwin spec/unit/util/profiler/object_counts_spec.rb