Sha256: 95b292ed3856b596a62b412857f67ee666396d055a30c56305dbd19467022c53

Contents?: true

Size: 298 Bytes

Versions: 1

Compression:

Stored size: 298 Bytes

Contents

require 'spec_helper'

describe Yun::SshConfig do

  before do
    @key_name = 'some_key'
  end

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

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

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
yun-0.0.4 spec/yun/model/ssh_config_spec.rb