Displaying 2 results from an estimated 2 matches for "backend_api_test".
2006 Apr 14
8
Error with Web Service tests after upgrading to Rails 1.1.2
...nse = ActionController::TestResponse.new
end
def test_my_method
result = invoke :my_method
assert_equal nil, result
end
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...
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