Sha256: 45781028aaac3ffc6e5dda761b6bea4d3b14b6fc44cb194e1c25ca7b6845056a
Contents?: true
Size: 421 Bytes
Versions: 36
Compression:
Stored size: 421 Bytes
Contents
require 'spec_helper' require 'puppet/provider/cisco' describe Puppet::Provider::Cisco do it "should implement a device class method" do expect(Puppet::Provider::Cisco).to respond_to(:device) end it "should create a cisco device instance" do expect(Puppet::Util::NetworkDevice::Cisco::Device).to receive(:new).and_return(:device) expect(Puppet::Provider::Cisco.device(:url)).to eq(:device) end end
Version data entries
36 entries across 36 versions & 1 rubygems