summaryrefslogtreecommitdiff
path: root/spec/unit/indirector/catalog/msgpack_spec.rb
blob: f266c897de1096223b7b629353a2b68d00bb49e1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#! /usr/bin/env ruby
require 'spec_helper'
require 'puppet/resource/catalog'
require 'puppet/indirector/catalog/msgpack'

describe Puppet::Resource::Catalog::Msgpack, :if => Puppet.features.msgpack? do
  # This is it for local functionality: we don't *do* anything else.
  it "should be registered with the catalog store indirection" do
    Puppet::Resource::Catalog.indirection.terminus(:msgpack).
      should be_an_instance_of described_class
  end
end