diff --git a/acceptance/tests/ticket_7139_puppet_resource_file_qualified_paths.rb b/acceptance/tests/ticket_7139_puppet_resource_file_qualified_paths.rb index f773ba17c..e546d4c50 100644 --- a/acceptance/tests/ticket_7139_puppet_resource_file_qualified_paths.rb +++ b/acceptance/tests/ticket_7139_puppet_resource_file_qualified_paths.rb @@ -1,11 +1,11 @@ test_name "#7139: Puppet resource file failes on path with leading '/'" step "Agents: create valid, invalid formatted manifests" create_remote_file(agents, '/tmp/ticket-7139', %w{foo bar contents} ) step "Run puppet file resource on /tmp/ticket-7139" agents.each do |host| - on(host, "puppet resource file /tmp/ticket-7139") do + on host, puppet("resource file /tmp/ticket-7139") do assert_match(/file \{ \'\/tmp\/ticket-7139\':/, stdout, "puppet resource file failed on #{host}") end end