I would like to replace @page_view = Page.new( "app.com/view.aspx", ["File > View"]) @page_view_after_add = Page.new( "app.com/view.aspx", ["File > View", "File added."]) @page_view_after_edit = Page.new( "app.com/view.aspx", ["File > View", "File edited."])
with something like @page_view = @page_view_after_add = @page_view_after_edit = Page.new( "app.com/view.aspx", ["File > View"]) @page_view_after_add.texts << "File added." @page_view_after_edit.texts << "File edited." But (surprise!), it does not work. I started to explain why would I like to do that, but it got pretty long, so I put it at my blog. http://www.testingreflections.com/node/view/3214 _______________________________________________ Wtr-general mailing list Wtr-general@rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-general