spec/integration/recipes/default.rb in itamae-1.9.2 vs spec/integration/recipes/default.rb in itamae-1.9.3
- old
+ new
@@ -184,9 +184,14 @@
http_request "/tmp/http_request_headers.html" do
headers "User-Agent" => "Itamae"
url "https://httpbin.org/get"
end
+http_request "/tmp/http_request_redirect.html" do
+ redirect_limit 1
+ url "https://httpbin.org/redirect-to?url=https%3A%2F%2Fhttpbin.org%2Fget%3Ffrom%3Ditamae"
+end
+
######
service "cron" do
action :stop
end