-
Notifications
You must be signed in to change notification settings - Fork 59
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Travis and kitchen-ec2 testing #181
Conversation
a114dfd
to
6746928
Compare
Signed-off-by: Alex Pop <apop@chef.io>
its(['total']) { should be > 60 } | ||
end | ||
# guard the elastic_hits array from index out of bounds exception | ||
if elastic_hits.length == 2 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we add an error if the length is not 2?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I was thinking that this will provide the error:
describe elastic_hits.length do
it { should eq 2 }
end
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You are right!
its(['total']) { should be > 60 } | ||
end | ||
# guard the elastic_hits array from index out of bounds exception | ||
if elastic_hits.length == 2 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You are right!
Uses IAM policy that can only create, tag and terminate own ec2 instances