spec/integration/recipes/default.rb in itamae-1.13.1 vs spec/integration/recipes/default.rb in itamae-1.14.0

- old
+ new

@@ -525,9 +525,18 @@ raise "run_command in local_ruby_block failed" end end end +local_ruby_block "pwd with cwd attribute" do + cwd "/tmp" + block do + unless `pwd`.chomp == "/tmp" + raise "working directory mismatched" + end + end +end + execute "touch /tmp/subscribed_from_parent" do action :nothing subscribes :run, 'execute[subscribed from parent]' end