spec/lib/ec2ssh/command/migrate_spec.rb in ec2ssh-3.0.0 vs spec/lib/ec2ssh/command/migrate_spec.rb in ec2ssh-3.0.1

- old
+ new

@@ -46,9 +46,12 @@ path '/path/to/ssh/config' aws_keys( key1: { access_key_id: 'ACCESS_KEY1', secret_access_key: 'SECRET1' } ) +# Ignore unnamed instances +reject {|instance| !instance.tags['Name'] } + # You can use methods of AWS::EC2::Instance. # See http://docs.aws.amazon.com/AWSRubySDK/latest/AWS/EC2/Instance.html host_line <<EOS Host <%= tags['Name'] %>.<%= availability_zone %> HostName <%= dns_name || private_ip_address %>