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

Version Path
puppet-5.5.17-x86-mingw32 spec/unit/provider/cisco_spec.rb
puppet-5.5.17 spec/unit/provider/cisco_spec.rb
puppet-5.5.17-x64-mingw32 spec/unit/provider/cisco_spec.rb
puppet-5.5.17-universal-darwin spec/unit/provider/cisco_spec.rb
puppet-5.5.16 spec/unit/provider/cisco_spec.rb
puppet-5.5.16-x86-mingw32 spec/unit/provider/cisco_spec.rb
puppet-5.5.16-x64-mingw32 spec/unit/provider/cisco_spec.rb
puppet-5.5.16-universal-darwin spec/unit/provider/cisco_spec.rb
puppet-5.5.14 spec/unit/provider/cisco_spec.rb
puppet-5.5.14-x86-mingw32 spec/unit/provider/cisco_spec.rb
puppet-5.5.14-x64-mingw32 spec/unit/provider/cisco_spec.rb
puppet-5.5.14-universal-darwin spec/unit/provider/cisco_spec.rb
puppet-5.5.13 spec/unit/provider/cisco_spec.rb
puppet-5.5.13-x86-mingw32 spec/unit/provider/cisco_spec.rb
puppet-5.5.13-x64-mingw32 spec/unit/provider/cisco_spec.rb
puppet-5.5.13-universal-darwin spec/unit/provider/cisco_spec.rb