Skip to content

Commit

Permalink
Fixed AWS test.
Browse files Browse the repository at this point in the history
  • Loading branch information
igoramadas committed May 19, 2017
1 parent b6918a8 commit b78d286
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions docs/source/plugins.aws.s3.html
Expand Up @@ -179,6 +179,7 @@ <h2 id="aws-s3">AWS S3</h2>

aws = <span class="hljs-built_in">require</span> <span class="hljs-string">"aws-sdk"</span>
fs = <span class="hljs-built_in">require</span> <span class="hljs-string">"fs"</span>
path = <span class="hljs-built_in">require</span> <span class="hljs-string">"path"</span>

lodash = <span class="hljs-literal">null</span>
logger = <span class="hljs-literal">null</span>
Expand Down
4 changes: 2 additions & 2 deletions test/aws.js
Expand Up @@ -65,8 +65,8 @@ describe("AWS Tests", function () {
} else {
var contents = JSON.parse(result);

if (result.timestamp != uploadTimestamp) {
done("Timestamp of uploaded file does not match " + uploadTimestamp);
if (contents.timestamp != uploadTimestamp) {
done("Timestamp of uploaded file does not match: " + contents.timestamp + ", " + uploadTimestamp);
} else {
done();
}
Expand Down

0 comments on commit b78d286

Please sign in to comment.