On Sat, Jan 9, 2010 at 7:38 PM, Sean DeNigris <[email protected]> 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 [email protected] http://rubyforge.org/mailman/listinfo/rspec-users
