search for: test_general

Displaying 3 results from an estimated 3 matches for "test_general".

Did you mean: test_generate
2006 Sep 29
1
yielding consecutive values
I''m not sure if someone has already addressed this issue, but if not, here goes. I need the following behavior: def test_generate(documentation = ''/test_documentation/'', destination = ''/destination/'') yield_results = [''/'', ''filename.yaml'', ''blah.xml'']
2006 Sep 29
2
multiyield
I lied, I don''t actually need different responses each time I call the method. So the last email of mine is probably worthless. Instead, I need yield to yield 3 values when I call it once: (behavior that mimics Find.find) def test_generate(documentation = ''/test_documentation/'', destination = ''/destination/'')
2005 Nov 23
2
functional tests, assert_tag and tables
...assert_tag incorrectly to ensure my tables are constructed properly? If I am, how should I be traversing a table for values? These tests seem to make sense, and the :parent appears to be acting as if it were :ancestor. ************* Begin Functional test *********************************** def test_general get :index assert_tag :tag => ''td'', :content => ''Morning'', :parent => {:tag => ''tr'', :child => {:tag => ''td'', :content => ''Subject 1'...