spec/integration/recipes/default.rb in itamae-1.6.0 vs spec/integration/recipes/default.rb in itamae-1.6.1
- old
+ new
@@ -340,9 +340,14 @@
group 'itamae2'
mode '400'
block do |content|
content.gsub!('world', 'Itamae')
end
+ notifies :run, "execute[echo -n 1 > /tmp/file_edit_notifies]"
+end
+
+execute 'echo -n 1 > /tmp/file_edit_notifies' do
+ action :nothing
end
###
unless run_command("echo -n Hello").stdout == "Hello"