Sha256: 305d67a163712391b94c8646bdfc7f79a8d0f771681a9257e32da76227b97a76

Contents?: true

Size: 401 Bytes

Versions: 1

Compression:

Stored size: 401 Bytes

Contents

require 'rspec'
require 'devinstall'

describe 'Provider' do

  before(:all) do
    Devinstall::Settings.instance.load! './spec/assets/example_01.yml' ## use defaults for type and env
  end

  it 'should load the correct (Provider::Ssh) plugin' do
    provider = Devinstall::Provider.new(@package, @type, @env, @action)
    expect(provider.singleton_class.include? Provider::Ssh).to be_true
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
devinstall-1.2.2 spec/support/03_provider_spec.rb