Sha256: f4fcc20a3c93a5038949d0d15165b625bcca525e80c9704d2ce71f384ce71b2f

Contents?: true

Size: 604 Bytes

Versions: 35

Compression:

Stored size: 604 Bytes

Contents

#! /usr/bin/env ruby

require 'spec_helper'
require 'matchers/json'
require 'puppet/util/instrumentation'
require 'puppet/util/instrumentation/indirection_probe'

describe Puppet::Util::Instrumentation::IndirectionProbe do
  Puppet::Util::Instrumentation::IndirectionProbe

  it "should indirect instrumentation_probe" do
    Puppet::Util::Instrumentation::IndirectionProbe.indirection.name.should == :instrumentation_probe
  end

  it "should return pson data" do
    probe = Puppet::Util::Instrumentation::IndirectionProbe.new("probe")
    probe.should set_json_attribute('name').to("probe")
  end
end

Version data entries

35 entries across 35 versions & 2 rubygems

Version Path
puppet-3.4.3 spec/unit/util/instrumentation/indirection_probe_spec.rb
puppet-3.4.2 spec/unit/util/instrumentation/indirection_probe_spec.rb
puppet-3.4.1 spec/unit/util/instrumentation/indirection_probe_spec.rb
puppet-3.4.0 spec/unit/util/instrumentation/indirection_probe_spec.rb
puppet-3.4.0.rc2 spec/unit/util/instrumentation/indirection_probe_spec.rb
puppet-3.4.0.rc1 spec/unit/util/instrumentation/indirection_probe_spec.rb
puppet-3.3.2 spec/unit/util/instrumentation/indirection_probe_spec.rb
puppet-3.3.1 spec/unit/util/instrumentation/indirection_probe_spec.rb
puppet-3.3.1.rc3 spec/unit/util/instrumentation/indirection_probe_spec.rb
puppet-3.3.1.rc2 spec/unit/util/instrumentation/indirection_probe_spec.rb
puppet-3.3.1.rc1 spec/unit/util/instrumentation/indirection_probe_spec.rb
puppet-3.3.0 spec/unit/util/instrumentation/indirection_probe_spec.rb
puppet-3.3.0.rc3 spec/unit/util/instrumentation/indirection_probe_spec.rb
puppet-3.3.0.rc2 spec/unit/util/instrumentation/indirection_probe_spec.rb
puppet-3.2.4 spec/unit/util/instrumentation/indirection_probe_spec.rb
puppet-3.2.3 spec/unit/util/instrumentation/indirection_probe_spec.rb
puppet-3.2.3.rc1 spec/unit/util/instrumentation/indirection_probe_spec.rb
puppet-3.2.2 spec/unit/util/instrumentation/indirection_probe_spec.rb
puppet-3.2.1 spec/unit/util/instrumentation/indirection_probe_spec.rb
puppet-3.2.1.rc1 spec/unit/util/instrumentation/indirection_probe_spec.rb