search for: includeparti

Displaying 1 result from an estimated 1 matches for "includeparti".

Did you mean: includepartial
2006 Sep 15
0
Using Selenium with a mock-method on associated Model ???
...ng my functional test, I mock-disable the stored procedure call, as the "work table" is fillied via fixture. class Sales < ActiveRecord::Base def self.load_work_data puts "mock called sp_load_sales_work_table" end end I placed this same code into a .rsel partial and includePartial at the top of my .sel test. This works A-OK in the fixture. It apparently doesn''t work at all in the Selenium call. Where should this mock-class be located? And/or when should I call it for use with a Selenium test ? Thanks all. -- ------------------------------ Apple MacBook. Bla...