diff --git a/spec/s3/app_spec.rb b/spec/s3/app_spec.rb index 8829ab9..6e60c41 100644 --- a/spec/s3/app_spec.rb +++ b/spec/s3/app_spec.rb @@ -23,7 +23,7 @@ describe "S3 provider" do stub_request(:delete, "#{container_url_for("phil")}/food/aguacate"). to_return(status: 200, headers: { etag: '"0815etag"' }) - # PUT requests authorized updates the metadata object in redis when it changes + # Write new content to check the metadata in Redis stub_request(:put, "#{container_url_for("phil")}/food/banano"). with(body: "si"). to_return(status: 200, headers: { etag: '"0815etag"' }) diff --git a/spec/swift/app_spec.rb b/spec/swift/app_spec.rb index 13e7145..eff8bd9 100644 --- a/spec/swift/app_spec.rb +++ b/spec/swift/app_spec.rb @@ -23,7 +23,7 @@ describe "Swift provider" do stub_request(:delete, "#{container_url_for("phil")}/food/aguacate"). to_return(status: 200, headers: { etag: "0815etag" }) - # PUT requests authorized updates the metadata object in redis when it changes + # Write new content to check the metadata in Redis stub_request(:put, "#{container_url_for("phil")}/food/banano"). with(body: "si"). to_return(status: 200, headers: { etag: "0815etag", last_modified: "Fri, 04 Mar 2016 12:20:18 GMT" })