From be33b0e195850d7ceed1481e524b0a37f7fe4cd5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Greg=20Kar=C3=A9kinian?= Date: Wed, 9 May 2018 19:08:32 +0200 Subject: [PATCH] Replace placeholder comment that I forgot to replace --- spec/s3/app_spec.rb | 2 +- spec/swift/app_spec.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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" })