-
Notifications
You must be signed in to change notification settings - Fork 50
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
Adds first AWS-SDK Ruby tests #73
Conversation
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.
We should comment each of the tests..about what they do.
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.
Harsha,
Will do.
I thought the names of the methods are clear enough to explain what they do.
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.
Great
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.
Done.
@ebozduman can you pls take a look at @harshavardhana review comments. |
end | ||
|
||
|
||
def list_buckets_test(s3Resource, s3Client) |
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.
Is the ruby format tabbing here appropriate? like previous defs
are of the wrong alignment than this test..
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.
Good point. I also noticed that.
I am working on it.
print_logn("- Success!") | ||
print_status(state, e) | ||
end | ||
end | ||
|
||
region = ENV['SERVER_REGION'] ||= 'SERVER_REGION not set' |
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.
Minor suggestion since everything else is in a def. This could also be in a def called validate. And endpoint generation could be also in a def. But i am ok with this to be improved next iteration. So LGTM for me.
@harshavardhana can you pls check this |
Adds the following AWS SDK Ruby tests: