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.22 spec/unit/provider/cisco_spec.rb
puppet-5.5.22-x86-mingw32 spec/unit/provider/cisco_spec.rb
puppet-5.5.22-x64-mingw32 spec/unit/provider/cisco_spec.rb
puppet-5.5.22-universal-darwin spec/unit/provider/cisco_spec.rb
puppet-5.5.21 spec/unit/provider/cisco_spec.rb
puppet-5.5.21-x86-mingw32 spec/unit/provider/cisco_spec.rb
puppet-5.5.21-x64-mingw32 spec/unit/provider/cisco_spec.rb
puppet-5.5.21-universal-darwin spec/unit/provider/cisco_spec.rb
puppet-5.5.20 spec/unit/provider/cisco_spec.rb
puppet-5.5.20-x86-mingw32 spec/unit/provider/cisco_spec.rb
puppet-5.5.20-x64-mingw32 spec/unit/provider/cisco_spec.rb
puppet-5.5.20-universal-darwin spec/unit/provider/cisco_spec.rb
puppet-5.5.19 spec/unit/provider/cisco_spec.rb
puppet-5.5.19-x86-mingw32 spec/unit/provider/cisco_spec.rb
puppet-5.5.19-x64-mingw32 spec/unit/provider/cisco_spec.rb
puppet-5.5.19-universal-darwin spec/unit/provider/cisco_spec.rb
puppet-5.5.18 spec/unit/provider/cisco_spec.rb
puppet-5.5.18-x86-mingw32 spec/unit/provider/cisco_spec.rb
puppet-5.5.18-x64-mingw32 spec/unit/provider/cisco_spec.rb
puppet-5.5.18-universal-darwin spec/unit/provider/cisco_spec.rb