Sha256: e849adf5a667d453e23569f90941ed703a0b15bc08bd46b3b004dbb0ca093d5c

Contents?: true

Size: 378 Bytes

Versions: 2

Compression:

Stored size: 378 Bytes

Contents

require 'spec_helper'

describe 'backend_for(:type) returns correct backend object' do
  it 'backend_for(:exec) returns Specinfra::Backend::Exec' do
    expect(backend_for(:exec)).to be_an_instance_of Specinfra::Backend::Exec
  end

  it 'backend_for(:ssh) returns Specinfra::Backend::Ssh' do
    expect(backend_for(:ssh)).to be_an_instance_of Specinfra::Backend::Ssh
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
specinfra-2.0.0.beta3 spec/helper/backend_spec.rb
specinfra-2.0.0.beta2 spec/helper/backend_spec.rb