search for: personcontrollertest

Displaying 2 results from an estimated 2 matches for "personcontrollertest".

2006 May 05
3
posting xml in functional test
Hello, I''m trying to write a functional test for a simple CRUD controller which accepts / emits xml in a REST- like fashion. However the following code won''t work for me - an exception is generated def test_create post :create, ''<person><name>john</name></person>'',
2006 May 06
0
RE: Rails Digest, Vol 20, Issue 156
...onrails.org Message-ID: <2577a89d0605060717o4455df78k1643f661183905b2@mail.gmail.com> Content-Type: text/plain; charset="iso-8859-1" > If "an exception is generated" then it would be good to knwo the details of said exception. Sorry - here it is 1) Error: test_create(PersonControllerTest): NoMethodError: undefined method `symbolize_keys'' for "<person><name>John</name></persion>":String /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.12.1/lib/action_controller/test_process.rb:99:in `assign_parameters'' /usr/local/lib/ruby/gem...