Displaying 1 result from an estimated 1 matches for "web_svc".
2006 Apr 14
8
Error with Web Service tests after upgrading to Rails 1.1.2
...@response = 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 insta...