# File test/test_priv.rb, line 268 def test_touch_with_no_create @priv.touch('bar', true) assert_equal(1, @exist_call) assert_equal('bar', @exist_path) assert_equal(0, @open_call) assert_equal(0, @getpwnam_call) assert_equal(0, @getgrnam_call) assert_equal(0, @chown_call) end