Displaying 2 results from an estimated 2 matches for "backendcontrollerapitest".
2005 Aug 23
8
Web Services testing... Agile Book p. 435
I am attempting to test the web services added during chapter 20 of the
Agile book. The code as written in the book yields 2 errors:
test_find_product_by_id(BackendControllerApiTest):
XMLParserError: syntax error
Anyone hit this yet and get it to work?
Thanks.
Ken
_______________________________________________
Rails mailing list
Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org
http://lists.rubyonrails.org/mailman/listinfo/rails
2006 Apr 14
8
Error with Web Service tests after upgrading to Rails 1.1.2
...end
On my real application, Web Services working before tests return many
more errors, like:
% ruby test/functional/web_svc/backend_api_test.rb
Loaded suite test/functional/web_svc/backend_api_test
Started
E...FF..E
Finished in 0.557281 seconds.
1) Error:
test_find_all_softwares(WebSvc::BackendControllerApiTest):
NoMethodError: You have a nil object when you didn''t expect it!
You might have expected an instance of Array.
The error occured while evaluating nil.length
/usr/lib/ruby/gems/1.8/gems/actionwebservice-1.1.2/lib/action_web_service/test_invoke.rb:55:in
`encode_rpc_call''
/...