I've got a file that I need to see if it exists when I run a stub, but the location of this file is uncertain at time of testing. I've got some pseducode for how I think it may work, but I think something is still incorrect. Basically, the actual code runs Dir.glob("/opt/test-\*/bin/progname").exists? to see if there is a file there. Do I need to break this into more than 1 line?

`Dir.stubs(:glob).with("/opt/test-*/bin/progname").exists?returns(true)`