#13, Ec2#exists returns false positives

Signed-off-by: Chris Redekop <chris.redekop@d2l.com>
This commit is contained in:
Chris Redekop 2017-02-06 12:06:01 +00:00 committed by Viktor Yakovlyev
parent 892d11aef2
commit 3cad7d1e78

View file

@ -1,5 +1,9 @@
describe aws_ec2(name: 'Example') do
it { should be_running }
it { should exist }
its('image_id') { should eq 'ami-0d729a60' }
its('instance_type') { should eq 't2.micro' }
end
describe aws_ec2('i-missing') do
it { should_not exist }
end