spec/lib/ec2ssh/command/remove_spec.rb in ec2ssh-3.1.1 vs spec/lib/ec2ssh/command/remove_spec.rb in ec2ssh-4.0.0
- old
+ new
@@ -17,14 +17,13 @@
double(:cli, options: options, red: nil, yellow: nil, green: nil)
end
let(:dotfile_str) { <<-END }
path '/dotfile'
-aws_keys(
- default: { access_key_id: 'ACCESS_KEY1', secret_access_key: 'SECRET1' }
-)
+profiles 'default'
+regions 'us-west-1'
host_line <<EOS
-Host <%= tags['Name'] %>
+Host <%= tag('Name') %>
HostName <%= private_ip_address %>
EOS
END
before do