Displaying 1 result from an estimated 1 matches for "valid_2007_10_24_111354_edt".
2007 Oct 24
1
Stubbing Kernel.` (backquote)
...hen I run this (using cmd-d in the TM bundle), the test passes, but I
get this line injected about the green "should make a copy of the
file":
/Users/george/work/simplify_md/vendor/plugins/rspec/lib/spec/mocks/proxy.rb:129:
command not found: OcrBarcode
/Users/george/work/simplify_md/tmp/valid_2007_10_24_111354_EDT.pdf
(all one line)
Significantly, if I remove the stub (Kernel.stub!(''`''.to_sym)), I get
the same result: passing with the same "command not found" message.
Is there an accepted way to stub subshell calls?
Thanks,
/g
--
George Anderson
BenevolentCode LLC
O: (41...