On Sat, Jan 9, 2010 at 7:38 PM, Sean DeNigris <truste...@clipperadams.com> wrote: >> window = stub('window', :title => "programming_ruby_1.9.pdf") >> preview = stub('preview', :front_window => window) > Perfect - so easy! Thanks. >
There's also stub_chain, which is probably a Bad Thing but helps break through layers of dependencies. _______________________________________________ rspec-users mailing list rspec-users@rubyforge.org http://rubyforge.org/mailman/listinfo/rspec-users