I decided to stay on the safe side by call Pathname.new(root) in the initialize, especially since in specs strings are passed as root.