Sha256: ab2909d1319d2de8c0af208b9d33813a13f66580a2a1dd2a000da66de3cf668d

Contents?: true

Size: 485 Bytes

Versions: 26

Compression:

Stored size: 485 Bytes

Contents

require 'rubygems'
require 'rest_connection'
require 'spec'
require 'ruby-debug'

describe Ec2SshKeyInternal, "ec2_ssh_key internal api object exercise" do
  before(:all) do
  end

  it "should find an index of all ssh keys" do
    all_keys = Ec2SshKeyInternal.find(:all)
    all_keys.empty?.should == false

    default_key = Ec2SshKeyInternal.find_by(:aws_key_name) {|n| n=~ /default/}
    default_key.first.should_not == nil

    default_key.first.href.should_not == nil
  end

end

Version data entries

26 entries across 26 versions & 1 rubygems

Version Path
rest_connection-0.1.7 spec/ec2_ssh_key_internal_spec.rb
rest_connection-0.1.6 spec/ec2_ssh_key_internal_spec.rb
rest_connection-0.1.5 spec/ec2_ssh_key_internal_spec.rb
rest_connection-0.1.4 spec/ec2_ssh_key_internal_spec.rb
rest_connection-0.1.3 spec/ec2_ssh_key_internal_spec.rb
rest_connection-0.1.2 spec/ec2_ssh_key_internal_spec.rb
rest_connection-0.1.1 spec/ec2_ssh_key_internal_spec.rb
rest_connection-0.1.0 spec/ec2_ssh_key_internal_spec.rb
rest_connection-0.0.23 spec/ec2_ssh_key_internal_spec.rb
rest_connection-0.0.22 spec/ec2_ssh_key_internal_spec.rb
rest_connection-0.0.21 spec/ec2_ssh_key_internal_spec.rb
rest_connection-0.0.20 spec/ec2_ssh_key_internal_spec.rb
rest_connection-0.0.19 spec/ec2_ssh_key_internal_spec.rb
rest_connection-0.0.18 spec/ec2_ssh_key_internal_spec.rb
rest_connection-0.0.17 spec/ec2_ssh_key_internal_spec.rb
rest_connection-0.0.16 spec/ec2_ssh_key_internal_spec.rb
rest_connection-0.0.15 spec/ec2_ssh_key_internal_spec.rb
rest_connection-0.0.14 spec/ec2_ssh_key_internal_spec.rb
rest_connection-0.0.13 spec/ec2_ssh_key_internal_spec.rb
rest_connection-0.0.12 spec/ec2_ssh_key_internal_spec.rb