hello there, what is the best (or any) way of mocking the running of shell commands?
e.g. code like the following: %{ ls } spec: it "should list the directory contents" shell = mock(Object) # %{} lives in Kernel module and its sugar for ` end
_______________________________________________ rspec-users mailing list rspec-users@rubyforge.org http://rubyforge.org/mailman/listinfo/rspec-users