Sha256: 7b14cb1dc56655fb881b0f5f1238baa65a2b366fd44d37675686adc9adb09045

Contents?: true

Size: 324 Bytes

Versions: 2

Compression:

Stored size: 324 Bytes

Contents

require 'spec_helper'

describe Yun::SshConfig do

  before do
    @user = 'some_user'
    @key_name = 'some_key'
  end

  it 'should construct from config object' do
    ssh_config = Yun::SshConfig.new @user, @key_name

    ssh_config.user.should == @user
    ssh_config.key_file.should == '~/.ssh/some_key.pem'
  end

end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
yun-0.0.6 spec/yun/model/ssh_config_spec.rb
yun-0.0.5 spec/yun/model/ssh_config_spec.rb