Sha256: 7c1ec093b197c5531be00071dcf72c15dfe86e1f2fd10280791123818c5cc2e8
Contents?: true
Size: 628 Bytes
Versions: 57
Compression:
Stored size: 628 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 include JSONMatchers 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
57 entries across 57 versions & 1 rubygems