Sha256: 0e6190424f0fd31e721d735f9eff3a38af67288720ede18f0690444eabf41af9
Contents?: true
Size: 492 Bytes
Versions: 11
Compression:
Stored size: 492 Bytes
Contents
require 'spec_helper' describe 'backend_for(:type) returns correct backend object' do before do RSpec.configure do |c| c.ssh = double(:ssh, :options => { :user => 'root' }) end end 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
11 entries across 11 versions & 1 rubygems