File tree Expand file tree Collapse file tree 2 files changed +18
-0
lines changed
util/network_device/panos Expand file tree Collapse file tree 2 files changed +18
-0
lines changed Original file line number Diff line number Diff line change 1+ RSpec . shared_examples 'a transport forwarder' do
2+ let ( :url ) do
3+ # some tempfile
4+ end
5+
6+ before ( :each ) do
7+ # write out config to URL
8+ # stub
9+ end
10+
11+ it ( 'inherits from Puppet::ResourceApi::Transport::Forwarder' ) { expect ( described_class . superclass ) . to eq Puppet ::ResourceApi ::Transport ::Forwarder }
12+ end
Original file line number Diff line number Diff line change 11require 'puppet/resource_api'
22require 'puppet/util/network_device'
33
4+ module Puppet ::ResourceApi ::Transport
5+ class Forwarder # rubocop:disable Style/Documentation
6+ def initialize ( url , config ) ; end
7+ end
8+ end
9+
410module Puppet ::Util ::NetworkDevice ::Panos
511 class Device < Puppet ::ResourceApi ::Transport ::Forwarder
612 end
You can’t perform that action at this time.
0 commit comments