Sha256: e8fd235d15965b0a13d2f2f8eb00bb6baa1545c1312da9df2aedb05c044ac2ad

Contents?: true

Size: 370 Bytes

Versions: 21

Compression:

Stored size: 370 Bytes

Contents

require 'pathname'
require Pathname.new( File.dirname(__FILE__)).join( 'test_helper' ).cleanpath

require 'build-tool/sshkey'

class TestSshKey < Test::Unit::TestCase

  def test_initialization
      sshkey = BuildTool::SshKey.new( "user@domain", "~/.ssh/id_dsa" )
      assert_equal "user@domain", sshkey.name
      assert_equal "~/.ssh/id_dsa", sshkey.file
  end

end

Version data entries

21 entries across 21 versions & 1 rubygems

Version Path
build-tool-0.5.3 test/test_ssh_key.rb
build-tool-0.5.2 test/test_ssh_key.rb
build-tool-0.4.6 test/test_ssh_key.rb
build-tool-0.5.1 test/test_ssh_key.rb
build-tool-0.4.5 test/test_ssh_key.rb
build-tool-0.5.0 test/test_ssh_key.rb
build-tool-0.4.4 test/test_ssh_key.rb
build-tool-0.4.3 test/test_ssh_key.rb
build-tool-0.4.2 test/test_ssh_key.rb
build-tool-0.4.1 test/test_ssh_key.rb
build-tool-0.4.0 test/test_ssh_key.rb
build-tool-0.3.3 test/test_ssh_key.rb
build-tool-0.3.2 test/test_ssh_key.rb
build-tool-0.3.1 test/test_ssh_key.rb
build-tool-0.3 test/test_ssh_key.rb
build-tool-0.2 test/test_ssh_key.rb
build-tool-0.1.4 test/test_ssh_key.rb
build-tool-0.1.3 test/test_ssh_key.rb
build-tool-0.1.2 test/test_ssh_key.rb
build-tool-0.1.0 test/test_ssh_key.rb