Would this be cleaner as `Pkg::Util::Net.should_receive(:ex).with("ssh -t foo 'bar'").and_return(true)` instead of the two lines?